![]() |
[HELP] door in TOI
there is a door on the 11th floor in TOI (other floors to) but In retial in opens on a timer and closes on a time. does anyone have the door data that tells how to do this for TOI?
|
SetTimerPeriod(seconds)? possibly?
not sure about the movement though... hmmm AddMoveToDesire(int x, int y, int z, float value) so... You might have to declare a variable and set a timer_id to it then set a time to that ID... Once the time runs out on the ID go to the AddMovetoDesire(). I am just guessing here... i have no clue if this works or not... Seem logical though. |
Just a basic NASC idea....
Code:
class door_open_toi : default_npcAttach that AI to an "invisible" npc (one that has an extremely high col_height) and spawn it near the TOI door, and in theory it should work. |
| All times are GMT. The time now is 21:47. |