Skip to content

Triggers

Mence edited this page Jul 12, 2022 · 16 revisions
- WARNING: WIKI UNDER HEAVY CONSTRUCTION - UPDATES DONE WEEKLY

Triggers Manual

MANUAL

This is the manual for map maker containing ALL available triggers to be used on the game and scripts for run-time testing.

CONTACT

boltcraftgame@gmail.com

VERSION 1.00

Keywords

stats

health health-max health-regeneration health-regeneration-per-level missing-health energy energy-max energy-regeneration energy-regeneration-per-level missing-energy shield shield-max shield-regeneration physical-armor magical-armor tenacity movement-speed-bonus attribute

value-condition

equal greater greater-or-equal lower lower-or-equal

== > >= < <=

player-id

1 - Player 2 - Enemy

game-event

0 = Menu 1 = Stage 2 = Loading 4 = Cinematic

alliance

ally enemy neutral

add

If [add] == true then the status value will be sum to the stat current value. Otherwise the value will be SET, overwriting the current value.

attribute

if [attribute] == true then all the incoming [stats] will become attributes name instead of stats.

menu-name

main menu pause game-over credits loading intro

shapes

shape-rectangle shape-circle

Events


"event": "initialization"

Description: Triggers at the stage start.


"event": "unit-kill", "unitName": "[target]"

Description: Triggers when the [target] dies.


Clone this wiki locally