Home   Help Search Login Register  

Author Topic: Is there a respawning script that..  (Read 1768 times)

0 Members and 1 Guest are viewing this topic.

SFG

  • Guest
Is there a respawning script that..
« on: 09 Apr 2003, 00:38:43 »
.. respawns the units name.. not its class.. say tank1 is named t1.. when it respawns it wouldnt be a jeep or something, but the same unit. NOT OFFICIAL ADDON and also i'm using the "Respawn with same weapons as started with script" but you have to press spacebar to use your weapon after you respawn. Please help :)

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Is there a respawning script that..
« Reply #1 on: 09 Apr 2003, 00:49:28 »
Heya SFG,

To fix that, just put:

unit selectweapon (primaryweapon unit)

On the end of the code that adds the respawned units weapons ;)

SFG

  • Guest
Re:Is there a respawning script that..
« Reply #2 on: 09 Apr 2003, 01:04:29 »
Thanks sui, man you always know everything! :P
Now about the respawning of the units name.. possible?

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:Is there a respawning script that..
« Reply #3 on: 09 Apr 2003, 02:18:17 »
NOT OFFICIAL ADDON and also i'm using the "Respawn with same weapons as started with script" but you have to press spacebar to use your weapon after you respawn. Please help :)

If this is my script, that shouldn't happen. Did you modify the script in any way?
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

Offline zip

  • Members
  • *
  • Zip mission maker of WW2ec team
Re:Is there a respawning script that..
« Reply #4 on: 04 May 2003, 01:02:09 »
ermp ??? if iam not asking for too much, could you guys post the FULL script so my fallsmajägers not spawn with a ak47.... iam really pissed off that I cant script advanced...
"words wich isnt is bringed to action, isnt worth saying.."

GingaWRATH

  • Guest
Re:Is there a respawning script that..
« Reply #5 on: 24 May 2003, 07:20:07 »
 Hey there i wonderd if ther was a Script to enable you to respawn under the same unit name name. I use a body moving script that activayes every 30 seconds when a unit dies,  but it seems like the unit only is allowed to be moved once. my trigger is set to repeatedly, so the only reason i can come up with is the respawn.

This is the sqs file i use and I also use a trigger with Game Logic  set to repeatedly and i call it (sea)

along with ever unit in there "init= [this] exec "Ginga.sqs"

I'm usually good with Scripts but I'm clueless on this one.  :D