Changes between Version 28 and Version 29 of Triggers
- Timestamp:
- Jul 13, 2016, 8:52:48 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Triggers
v28 v29 290 290 {{{#!js 291 291 { 292 "player ": playerId,292 "playerId": playerId, 293 293 "cmd": unitCommand 294 294 } … … 297 297 {{{#!td 298 298 Any 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 299 333 }}} 300 334 |----------------