Changes between Version 28 and Version 29 of Triggers


Ignore:
Timestamp:
Jul 13, 2016, 8:52:48 AM (8 years ago)
Author:
Itms
Comment:

Update for r18514

Legend:

Unmodified
Added
Removed
Modified
  • Triggers

    v28 v29  
    290290  {{{#!js
    291291    {
    292       "player": playerId,
     292      "playerId": playerId,
    293293      "cmd": unitCommand
    294294    }
     
    297297{{{#!td
    298298Any command a player sends. The "cmd" part of a command always have a type, and per type can have different other atributes. Check the documentation in the source file ([source:ps/trunk/binaries/data/mods/public/simulation/helpers/Commands.js Commands.js]) for documentation
     299}}}
     300|----------------
     301{{{#!td
     302`OnPlayerDefeated`
     303}}}
     304{{{#!td
     305  {{{#!js
     306    {"enabled": bool}
     307  }}}
     308}}}
     309{{{#!td
     310  {{{#!js
     311    {"playerId": playerId}
     312  }}}
     313}}}
     314{{{#!td
     315
     316}}}
     317|----------------
     318{{{#!td
     319`OnPlayerWon`
     320}}}
     321{{{#!td
     322  {{{#!js
     323    {"enabled": bool}
     324  }}}
     325}}}
     326{{{#!td
     327  {{{#!js
     328    {"player": playerId}
     329  }}}
     330}}}
     331{{{#!td
     332
    299333}}}
    300334|----------------