Your browser does not support HTML5 canvas. Fork me on GitHub

Available Packages:

Trigger

Source

function static trigger.addAction(code actionFunc) returns triggeraction

Source

function static trigger.addCondition(boolexpr condition) returns triggercondition

Source

function static trigger.clearActions()

Source

function static trigger.clearConditions()

Source

function static trigger.destr()

Source

function static trigger.disable()

Source

function static trigger.enable()

Source

function static trigger.evaluate() returns boolean

Source

function static trigger.execute()

Source

function static trigger.executeWait()

Source

function static trigger.getEvalCount() returns int

Source

function static trigger.getExecCount() returns int

Source

function static trigger.isEnabled() returns boolean

Source

function static trigger.isWaitOnSleeps() returns boolean

Source

function static trigger.registerAnyUnitEvent(playerunitevent whichEvent)

Source

function static trigger.registerDeathEvent(widget whichWidget) returns event

Source

function static trigger.registerDialogButtonEvent(button whichButton) returns event

Source

function static trigger.registerDialogEvent(dialog whichDialog) returns event

Source

function static trigger.registerEnterRegion(region whichRegion, boolexpr filter) returns event

Source

function static trigger.registerFilterUnitEvent(unit whichUnit, unitevent whichEvent, boolexpr filter) returns event

Source

function static trigger.registerFrameEvent(framehandle frame, frameeventtype eventId) returns event

Source

Registers a frameevent with given type for given frame, the triggered callback will contain following informations: BlzGetTriggerFrame - the source frame of the event BlzGetTriggerFrameEvent - the type of the frame event BlzGetTriggerFrameValue - the value of the frame event (for sliders) // not yet part of common.j BlzGetTriggerFrameText - the value of the frame event (for editfields) // not yet part of common.j GetTriggerPlayer - the player causing the event

function static trigger.registerGameEvent(gameevent whichGameEvent) returns event

Source

function static trigger.registerGameStateEvent(gamestate whichState, limitop opcode, real limitval) returns event

Source

function static trigger.registerLeaveRegion(region whichRegion, boolexpr filter) returns event

Source

function static trigger.registerPlayerAllianceChange(player whichPlayer, alliancetype whichAlliance) returns event

Source

function static trigger.registerPlayerChatEvent(player whichPlayer, string chatMessageToDetect, boolean exactMatchOnly) returns event

Source

function static trigger.registerPlayerEvent(player whichPlayer, playerevent whichPlayerEvent) returns event

Source

function static trigger.registerPlayerKeyPress(player whichPlayer, oskeytype key, OSKEY_META metaKey, boolean onKeyDown) returns event

Source

function static trigger.registerPlayerStateEvent(player whichPlayer, playerstate whichState, limitop opcode, real limitval) returns event

Source

function static trigger.registerPlayerSync(player whichPlayer, alliancetype whichAlliance) returns event

Source

function static trigger.registerPlayerUnitEvent(player whichPlayer, playerunitevent whichPlayerUnitEvent, boolexpr filter) returns event

Source

function static trigger.registerTimerEvent(real timeout, boolean periodic) returns event

Source

function static trigger.registerTimerExpireEvent(timer whichTimer) returns event

Source

function static trigger.registerTrackableHitEvent(trackable whichTrackable) returns event

Source

function static trigger.registerTrackableTrackEvent(trackable whichTrackable) returns event

Source

function static trigger.registerUnitEvent(unit whichUnit, unitevent whichEvent) returns event

Source

function static trigger.registerUnitInRange(unit whichUnit, real range, boolexpr filter) returns event

Source

function static trigger.registerUnitStateEvent(unit whichUnit, unitstate whichState, limitop opcode, real limitval) returns event

Source

function static trigger.removeAction(triggeraction action)

Source

function static trigger.removeCondition(triggercondition condition)

Source

function static trigger.reset()

Source

function OSKEY_META.toInt() returns int

Source

function static trigger.waitOnSleeps(boolean flag)

Source