C# Class OpenRA.Mods.Common.Scripting.TriggerGlobal

Inheritance: OpenRA.Scripting.ScriptGlobal
Show file Open project: pchote/OpenRA Class Usage Examples

Public Methods

Method Description
GetScriptTriggers ( Actor a ) : ScriptTriggers
TriggerGlobal ( OpenRA.Scripting.ScriptContext context ) : System

Private Methods

Method Description
AfterDelay ( int delay, Eluant.LuaFunction func ) : void
Clear ( Actor a, string triggerName ) : void
ClearAll ( Actor a ) : void
OnAddedToWorld ( Actor a, Eluant.LuaFunction func ) : void
OnAllKilled ( Actor actors, Eluant.LuaFunction func ) : void
OnAllKilledOrCaptured ( Actor actors, Eluant.LuaFunction func ) : void
OnAllRemovedFromWorld ( Actor actors, Eluant.LuaFunction func ) : void
OnAnyKilled ( Actor actors, Eluant.LuaFunction func ) : void
OnCapture ( Actor a, Eluant.LuaFunction func ) : void
OnDamaged ( Actor a, Eluant.LuaFunction func ) : void
OnDiscovered ( Actor a, Eluant.LuaFunction func ) : void
OnEnteredFootprint ( CPos cells, Eluant.LuaFunction func ) : int
OnEnteredProximityTrigger ( WPos pos, WDist range, Eluant.LuaFunction func ) : int
OnExitedFootprint ( CPos cells, Eluant.LuaFunction func ) : int
OnExitedProximityTrigger ( WPos pos, WDist range, Eluant.LuaFunction func ) : int
OnIdle ( Actor a, Eluant.LuaFunction func ) : void
OnInfiltrated ( Actor a, Eluant.LuaFunction func ) : void
OnKilled ( Actor a, Eluant.LuaFunction func ) : void
OnKilledOrCaptured ( Actor a, Eluant.LuaFunction func ) : void
OnObjectiveAdded ( Player player, Eluant.LuaFunction func ) : void
OnObjectiveCompleted ( Player player, Eluant.LuaFunction func ) : void
OnObjectiveFailed ( Player player, Eluant.LuaFunction func ) : void
OnPassengerEntered ( Actor a, Eluant.LuaFunction func ) : void
OnPassengerExited ( Actor a, Eluant.LuaFunction func ) : void
OnPlayerDiscovered ( Player discovered, Eluant.LuaFunction func ) : void
OnPlayerLost ( Player player, Eluant.LuaFunction func ) : void
OnPlayerWon ( Player player, Eluant.LuaFunction func ) : void
OnProduction ( Actor a, Eluant.LuaFunction func ) : void
OnRemovedFromWorld ( Actor a, Eluant.LuaFunction func ) : void
RemoveFootprintTrigger ( int id ) : void
RemoveProximityTrigger ( int id ) : void

Method Details

GetScriptTriggers() public static method

public static GetScriptTriggers ( Actor a ) : ScriptTriggers
a Actor
return ScriptTriggers

TriggerGlobal() public method

public TriggerGlobal ( OpenRA.Scripting.ScriptContext context ) : System
context OpenRA.Scripting.ScriptContext
return System