I have little surprise for you!!!
sounds like you got a bad math counter. but its just a guess off the info you gave us
penapappa wrote:
Do you know what this is caused by and how can I fix it?
USER ERROR: replace user and press any key to continue.
as always taco, you never fail to deliver.
Here is I/O's and settings
Button 1:
Func_door
Name: func_door_1
Outputs:
OnClose, CP4P_bigbutton_sndup_4, play sound, -, 0.00, no
OnClose, door_left, close, -, 0.00, no
Onclose, door_right, close, -, 0.00, no
On Close, buttoncounter, subtract, 1, 0.00, no
On Open, CP4P_bigbutton_snddn_4, play sound, -, 0.00, no
On open, door_left, open, -, 0.00, no
On open, door_right, open, -, 0.00, no
On open, buttoncounter, add, 1, 0.00, no
Player trigger
Name: trigger_player_1
outputs:
OnEndTouchAll, trigger_box_1, Enable, -, 0.00, no
OnEndTouchAll, func_door_1, Close, -, 0.00, no
OnStartTouch, trigger_box_1, Disable, -, 0.00, no
OnStartTouch, func_door_1, Open, -, 0.00, no
Box trigger
Name: trigger_box_1
Filter Name: filter_boxes
outputs:
OnEndTouchAll, trigger_player_1, Enable, -, 0.00, no
OnEndTouchAll, func_door_1, close, -, 0.00, no
OnStartTouch, trigger_player_1, Disable, -, 0.00, no
OnStartTouch, func_door_1, Open, - , 0.00, no
Button 2
func_door
Name: func_door_2
outputs:
OnClose, CP4P_bigbutton_sndup_4, PlaySound, -, 0.00, no
OnClose, door_left, close, -, 0.00, no
Onclose, door_right, close, -, 0.00, no
On Close, buttoncounter, subtract, 1, 0.00, no
On Open, CP4P_bigbutton_snddn_4, play sound, -, 0.00, no
On open, door_left, open, -, 0.00, no
On open, door_right, open, -, 0.00, no
On open, buttoncounter, add, 1, 0.00, no
player trigger
Name: trigger_player_2
outputs:
OnEndTouchAll, trigger_box_2, enable, -, 0.00, no
OnEndTouchAll, func_door_2, close, -, 0.00, no
OnStartTouch, trigger_box_2, disable, -, 0.00, no
OnStartTouch, func_door_2, open, -, 0.00, no
box trigger
name: trigger_box_2
filter name: filter_boxes
outputs:
OnEndTouchAll, trigger_player_2, Enable, -, 0.00, no
OnEndTouchAll, func_door_2, close, -, 0.00, no
OnStartTouch, trigger_player_2, disable, -, 0.00, no
OnStartTouch, func_door_2, open, - ,0.00, no
filter_activator_name
name: filter_boxes, T
filter name: TheBox
Allow entities that match criteria
math_counter
name: buttoncounter
minlegalvalue: 0
maxlegalvalue:2
start disabled: no
outputs:
OnHitMax, door_left, open, - ,0.00, no
OnHitMax,door_right, open, - ,0.00, no
OnHitMax, buttoncounter, SetHitMin, 1, 0.00, no
OnHitMin, door_left, close, -, 0.00, no
OnHitMin, door_right, close, -, 0.00, no
OnHitMin, buttoncounter, SetHitMin, 0, 0.00, no
thats all. I have two cubes too with different names (because of that you can destroy and create new box without that other box destoyed. I use invisible cleanser trigger with name activator to destroy other cube)
And I have that kin of problem too. activator filter name for buttons is thebox, right? But when i but cube named thebox on button, button starts to keep ugly noise and move up and down very fast, but when I but cube named thecube on button, it doesn't keep that ugly noise. Have I activator settings wrong or what? (Uuh that took me 10 hours to write that text, here in finland is night now...)
Quote:
Func_door
Name: func_door_1Outputs:
OnClose, CP4P_bigbutton_sndup_4, play sound, -, 0.00, no
OnClose, door_left, close, -, 0.00, no
Onclose, door_right, close, -, 0.00, no
On Close, buttoncounter, subtract, 1, 0.00, no
On Open, CP4P_bigbutton_snddn_4, play sound, -, 0.00, no
On open, door_left, open, -, 0.00, no
On open, door_right, open, -, 0.00, no
On open, buttoncounter, add, 1, 0.00, no
For a less confusing output log, use in the func_door settings that the Start and Stop sounds are the button sounds.
Anyway, your func_doors should have these outputs.
Onopen -> buttoncounter -> Add -> 1
OnClose -> buttoncounter -> Subtract -> 1
You should have that and your texture toggles in there!
Quote:
OnHitMax, door_left, open, - ,0.00, no
OnHitMax,door_right, open, - ,0.00, no
OnHitMax, buttoncounter, SetHitMin, 1, 0.00, no
OnHitMin, door_left, close, -, 0.00, no
OnHitMin, door_right, close, -, 0.00, no
OnHitMin, buttoncounter, SetHitMin, 0, 0.00, no
Looks good..
I don't know, I looked at your settings, and everything looks like mine. Try redoing it and do exactly what it says. If it works then modify it.
All you educated and comfortable boys are against me? Now I shit my pants two times at one. And if you didn't notice that I was sarcastic
Have a nice day for you too.
edit: work now