Really quick MoveDynamicObject question!
#1

If I set an object (say an elevator) to move up really slow will it run the next line of code when it starts moving or when it has finished?

If it starts the next line of code immediately what is a good way to detect whether said elevator is on the floor before opening the door?
Reply
#2

it's immediately, I didn't get you well but you can use a timer?
Reply
#3

Quote:
Originally Posted by Jerm
Посмотреть сообщение
If I set an object (say an elevator) to move up really slow will it run the next line of code when it starts moving or when it has finished?

If it starts the next line of code immediately what is a good way to detect whether said elevator is on the floor before opening the door?
https://sampwiki.blast.hk/wiki/OnObjectMoved
Maybe this?
Reply
#4

Rowdy, yes that's what I meant thank you. Timer will not work in this case.

Rajat, That is exactly what I needed but will it work with MoveDynamicObject?
Reply
#5

forward OnDynamicObjectMoved(objectid);
Use this if you use a streamer!
Reply
#6

thanks again +repped
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)