Event Scripts – Talk

From Bohemia Interactive Community
Revision as of 07:08, 1 November 2007 by Crowe (talk | contribs) (onFlare)
Jump to navigation Jump to search

T_D, good work, but a little 'old news'. Feel free to update the Biki http://community.bistudio.com/wiki/Event_Scripts if you want.

Loophole, unfortunately there are no specific event handlers for instant respawn and base respawn. Sy 23:28, 9th April 2007 (NZST)


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)

onFlare

onFlare seems not to work in Armed Assault --Crowe 06:08, 1 November 2007 (CET)