Déclencheurs du langage
Dans la vue Code, on cast réveille un bloc événement. Chaque nom est expliqué dans Exemples.
ball_lost
Bloc: Event.OnBallLost.
on ball_lost {
notify("déclenché")
}
ball_possess
Bloc: Event.OnBallPossess.
on ball_possess {
notify("déclenché")
}
cancel
Bloc: Event.OnCancel.
on cancel {
notify("déclenché")
}
cast
Bloc: Event.OnSkillCast.
on cast {
notify("déclenché")
}
event
Bloc: Event.Custom.
on event("signal") {
notify("déclenché")
}
flow_off
Bloc: Event.OnFlowDeactivate.
on flow_off {
notify("déclenché")
}
flow_on
Bloc: Event.OnFlowActivate.
on flow_on {
notify("déclenché")
}
hit
Bloc: Event.OnHit.
on hit {
notify("déclenché")
}
input
Bloc: Macro.Input.
key
Bloc: Event.OnKeyPress.
on key("jump") {
notify("déclenché")
}
key_release
Bloc: Event.OnKeyRelease.
on key_release("jump") {
notify("déclenché")
}
land
Bloc: Event.OnLand.
on land {
notify("déclenché")
}
state
Bloc: Event.OnStateChanged.
on state {
notify("déclenché")
}
tackle
Bloc: Event.OnTackleAttempt.
on tackle {
notify("déclenché")
}
test
Bloc: Event.OnTest.
on test {
notify("déclenché")
}