Event Scripts – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
There are probably event handler scripts that fire when a player respawns instantly,and respawns at base, but I can't find any indication of what they might be called.  The obvious names; onPlayerRespawn and onPlayerRespawnBase, don't appear to be it.
There are probably event handler scripts that fire when a player respawns instantly,and respawns at base, but I can't find any indication of what they might be called.  The obvious names; onPlayerRespawn and onPlayerRespawnBase, don't appear to be it.
[[User:Loophole|Loophole]] 15:12, 6 April 2007 (CEST)
[[User:Loophole|Loophole]] 15:12, 6 April 2007 (CEST)
:Found something interesting in dta\BIN\config.bin:
playerKilledScript = "onPlayerKilled.sqs";
playerRespawnScript = "onPlayerRespawn.sqs";
playerRespawnOtherUnitScript = "onPlayerRespawnOtherUnit.sqs";
playerRespawnSeagullScript = "onPlayerRespawnAsSeagull.sqs";
playerResurrectScript = "onPlayerResurrect.sqs";
teamSwitchScript = "onTeamSwitch.sqs";
--[[User:T D|T_D]] 18:39, 7 April 2007 (CEST)

Revision as of 17:39, 7 April 2007

There are probably event handler scripts that fire when a player respawns instantly,and respawns at base, but I can't find any indication of what they might be called. The obvious names; onPlayerRespawn and onPlayerRespawnBase, don't appear to be it. Loophole 15:12, 6 April 2007 (CEST)

Found something interesting in dta\BIN\config.bin:
playerKilledScript = "onPlayerKilled.sqs";
playerRespawnScript = "onPlayerRespawn.sqs";
playerRespawnOtherUnitScript = "onPlayerRespawnOtherUnit.sqs";
playerRespawnSeagullScript = "onPlayerRespawnAsSeagull.sqs";
playerResurrectScript = "onPlayerResurrect.sqs";
teamSwitchScript = "onTeamSwitch.sqs";

--T_D 18:39, 7 April 2007 (CEST)