Home   Help Search Login Register  

Author Topic: Making the Flag Respawn  (Read 1477 times)

0 Members and 1 Guest are viewing this topic.

DCC

  • Guest
Making the Flag Respawn
« on: 04 Jan 2003, 05:53:58 »
Hello,
This is once again DCC having a question. I have made a few maps now. I have wanted to know how you get the flags to be on a timer so that the dead body that was carrying the flag doesnt disappear with it into the ground (because I used the disappearing script) If you can tell me how this is done or give me a direct link to a tutorial on how do make this so the flag doesnt disappear with the body, please leave me a message. I looked over www.ofpec.com but I havent had luck on finding it. Please get back to me.
                                                            Thanks,
                                                                DCC

Tactician

  • Guest
Re:Making the Flag Respawn
« Reply #1 on: 04 Jan 2003, 11:56:08 »
Try this.

Make a trigger activated repeatedly with a timeout of 60 seconds.

Condition:
!(isNull (flagOwner flagname)) AND !(alive (flagOwner flagname))

Activation:
flagname setFlagOwner objNull; hint "Flag was returned"

If the flag is not on the pole and the owner is dead for 60 seconds, the flag will return to the pole.

DCC

  • Guest
Re:Making the Flag Respawn
« Reply #2 on: 05 Jan 2003, 08:26:27 »
Do I make the trigger anywhere, or is it a script or trigger. I havent figured it out. If you can like send a reply on how to set it all up I would appreciate it though. If you dont I will totally understand. You make the call.

Tactician

  • Guest
Re:Making the Flag Respawn
« Reply #3 on: 05 Jan 2003, 09:23:59 »
Make the trigger with a radius of 0.  A trigger with a radius of 0 activated by 'nobody' will effect anything on the map.

All the options for a trigger can be intimidating, but you really don't need to mess with all that crap unless you're doing something more advanced.  When you make the new trigger only modify radius, condition, activation, and the once/repeatedly thing.

DCC

  • Guest
Re:Making the Flag Respawn
« Reply #4 on: 05 Jan 2003, 17:44:56 »
Alright. Thank you. I am going to test this one out.