Search the Community
Showing results for tags 'enablestamina'.
Found 1 result
-
bis_fnc_forcecuratorinterface [Solved]Forced Zeus interface after death
rkemsley posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
In my Zeus vs Guerilla Zeus game, there are three BLUFOR Curators vs one Independent Curator. The Independent Curator wins when all of the BLUFOR Curators have died. However, the games can last quite a long time, and it can be quite boring for the dead BLUFOR Curators to sit out for the rest of the game. What I have decided is that once a BLUFOR Curator is killed, he respawns and is forced to play just in Curator mode. He is now unable to spawn more units and is only able to command BLUFOR units already on the map or control said units. I have written a short "onPlayerRespawn.sqf" script to do this (however, it is untested because I am currently at work). Wondering if anyone has any advice on a better way of doing this! Also, I have a problem now with ending the game due to the BLUFOR Curators respawning. Before, I had it so that the game ended and Independent won when all BLUFOR players were dead, which obviously won't work now! Edit: Ok, so I just got back from work and tested my script. It does work, provided that in my "description.ext" I have specified "respawnOnStart = -1;". What I am wondering is how I would then make Independent win when all BLUFOR Curators have died (now that they can respawn). Before, I had a trigger: Obviously, this will no longer work ^^