Hello everybody
i would like to know if it's possible to block a script_model which is moving ? and script_brushmodel ?
if it's possible, please tell me.
ORDI
xf: ordi37zk
Hello everybody
i would like to know if it's possible to block a script_model which is moving ? and script_brushmodel ?
if it's possible, please tell me.
ORDI
xf: ordi37zk
What do you mean with blocking?
example: an elevator which is moving and suddenly, there is something which spawn and it block the elevator so it cant move correctly.
Last edited by ORDI; 2nd June 2015 at 19:49.
check every entity withlike every second, and if some players that are touching the entity AND not change their position AND while your entity should move AND is also not changing its position, you could set the players origin or kill'emPHP Code:
entity isTouching( player )
already try, but it do not work, it's model to entity because the thing which spawn is made from the script ( thing = spawn(...); )
The entity must block the model when it is moving
Last edited by ORDI; 2nd June 2015 at 20:45.
Try
orPHP Code:
thing waittill("forever");
every second.PHP Code:
thing moveTo(thing getOrigin(), 0, 0, 0);
just set the .origin of your elevator and it will stop in the middle of a moveto/movex/movey/movez.
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem