Forum Jump :

Author Message


Posts: 29
Rank:


Level: Member

Country: au
Location:
Occupation:
Age:
In-game name:

 
#186058 Posted at 2016-01-31 05:36        
     
^ Hmm that half works. What happens is you 1.start the mission and are at the gear selector. 2.You spawn. 3. You die and the spectate script is called. 4. the gear selector is called again because "description.ext" respawntemplates[]="menuinventory" realises you have died.

I wonder if I could remove "menuinventory" and have a blank template. Then add the function into the code above

nul = [] spawn {waitUntil {!alive player}; MENUFUNCTION; waitUntil {alive player}; waitUntil {!alive player}; waitUntil {alive player}; ace_spectator_fnc_setSpectator};

Unfortunately I cant find the actual function that the "menuinventory" calls anywhere on the bohemia wiki

Added 1 minute later:

Maybe it's BIS_fnc_respawnMenuInventory