Working on a mod, ran into a slight problem
Working on a mod, ran into a slight problem
The script i have involves a volume trigger that will kill the player after a timed amount. I have it set to do this because I do not want players going to a certain part of the level too soon. Is there a way to deactivate the script after a certain point?
-
- Posts: 219
- Joined: Tue Nov 22, 2005 6:48 pm
- Contact:
![]() |
I think the sleep command would work, but I am not sure.
Im going to post this here, while I look for it.
Will edit the result later.
Edit: It goes like this
So it would be something like this (if your trigger volume was named trig1)
Just to say ahead of time, Im not sure if thatll work. It MIGHT, but I was just making the script to what you needed.
Im going to post this here, while I look for it.
Will edit the result later.
Edit: It goes like this
Code: Select all
(sleep <short> <script>)
Code: Select all
(script triggerstopkilling
(sleep_until (= (volume_test_object trig1 player0) true) 5)
(sleep 99999999999999999 trig_kill))
Signature may not be animated.
Oh really?
Oh really?
