OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: SFG 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 :)
-
Heya SFG,
To fix that, just put:
unit selectweapon (primaryweapon unit)
On the end of the code that adds the respawned units weapons ;)
-
Thanks sui, man you always know everything! :P
Now about the respawning of the units name.. possible?
-
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?
-
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...
-
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