Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Set location for spawned player, after death (Scripts.dll)
Set location for spawned player, after death (Scripts.dll) [message #116308] Thu, 23 September 2004 19:01 Go to previous messageGo to previous message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma:
Recruit

Set up a vector to remember recorded names of players who die, and use a script attached to the character's preset to detect when they spawn (created) and when they are killed (destroy). When they are killed, add their name to the vector you set up. When they are created, check to see if their name is included in the vector and if so, set their position to wherever you want them to go.

http://www.sgi.com/tech/stl/Vector.html
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cool Effect
Next Topic: RenX error
Goto Forum:
  


Current Time: Sat Dec 28 00:25:58 MST 2024

Total time taken to generate the page: 0.00757 seconds