summaryrefslogtreecommitdiff
path: root/docs/samples/transitions.xml
blob: 9c261fc7d99a2b92d19ea1506b95205d6879cd17 (plain)
1
2
3
4
5
6
7
<transition source="idle" target="run">
	<event name="key_up|key_shift" />
</transition>
<transition source="run" target="attack">
	<event name="key_ctrl" />
	<condition expr="weapon != null" />
</transition>