Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » How to Turn the Ped on after a specific time
Re: How to Turn the Ped on after a specific time [message #451244 is a reply to message #446321] Thu, 11 August 2011 06:45 Go to previous messageGo to previous message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma:
General (4 Stars)
It's impossible to crash the FDS or set off multiple timers when the time runs every 0.1 seconds but okay. My script checks if the guy has the beacons before doing anything so it can't crash when they don't have any weapons, unless there's an issue with Get_Total_Bullets().

The deactivating is easy to add with a second script that destroys the zone object after an hour, or by using 1 as the timer number number and in ::Timer_Expired() do a check if the number is 1 else do the code I shown, when the timer is 1 use Destroy_Script().

How does the script zone logic handle people dying while inside them, does it trigger ::Exited() and if it does, it trigger it before or after respawning?


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need someone familiar with vehicle boning
Next Topic: Having some issues modifying the Airstrip waypoints serverside
Goto Forum:
  


Current Time: Sun Dec 29 09:48:12 MST 2024

Total time taken to generate the page: 0.00826 seconds