Weird script_mover behaviour... :\


(Flippy) #1

Right, here’s the problem:

I’m trying to make a kind of elevator type of thingy… it’s a platform (script_mover) and if you step on it (inside a trigger_multiple -> target_script_trigger) it waits 4 seconds, then goes up (with a speed of 1000, quite fast)

The script_mover consists of:

the platform itself (including a little fence)
a cushion brush (so you don’t fall dead if you jump while going down)
an origin brush

and the spawnflag “solid” is set…

Now the problem is, that if i step on the platform, it’s NOT solid, i fall through :S
however, when its going down already, its solid again, i can stand on it no problem…
it seems that it magically turns nonsolid in it’s wait time of 4 seconds…

Now i have 2 elevators, one going up (and waiting for 5 seconds when it’s up, then goes down again) and one going down (waiting for 5 seconds, then going up again)
the elevator going UP works without a problem. (Although it might also be nonsolid but you dont notice because you are on the ground ofcourse.)

The only thing i can think of is that the cushion brush is causing trouble… is there any disadvantage about using a cushion texture on a script_mover?


(Flippy) #2

well its not the cushion brush… even without cushion brush the problem appears


(Flippy) #3

Ok problem solved… i had the script_mover go to a position (setposition) in it’s spawn, that’s what appeared to create the problem… i now put it on the new position in the map itself and it works