forked from babelshift/BulletMLLib
-
Notifications
You must be signed in to change notification settings - Fork 15
action
dmanning23 edited this page Jun 22, 2013
·
7 revisions
Defines the action of bullet
Attribute - label = STRING
Contents - (repeat | fire | fireRef | changeSpeed | changeDirection | accel | wait | vanish | action | actionRef)*
Example
<action> <changeSpeed> <speed>0</speed> <term>60</term> </changeSpeed> <wait>60</wait> <fire> <bullet/> </fire> <fire> <direction type="absolute">330+$rand*25</direction> <bulletRef label="downAccel"/> </fire> <vanish/> </action>
Defines the action of bullet. The labeled action element is referred by actionRef elements.
Your script has to have actions with the "top" label to work. These are like the starting point of the script.
If there is only one top level bullet, it's label is "top".
If there are more than one top level bullet, they are top1 - top10.