Skip to content
dmanning23 edited this page Jun 4, 2013 · 4 revisions

Fires a bullet

Attribute - label = STRING

Contents - direction?, speed?, (bullet | bulletRef)

Example <fire> <direction type="absolute">270</direction> <speed>2</speed> <bulletRef label="rocket"/> </fire>

Fires a bullet to degrees at . The labeled fire element is referred by fireRef elements. If the direction is specified as aim, absolute, or relative, it will override the initial direction of the bullet element. If the direction is specified as a sequence, it will use the direction of the bullet element as the initial direction. If the both the direction elements are sequence, the initial direction of the bullet will be "aim" and it will use this dude's direction element.

If the speed is specified as absolute or relative, it will override the initial speed of the bullet element. If the speed is specified as a sequence, it will use the speed of the bullet element as the initial speed. If the both the speed elements are sequence, the initial speed of the bullet will be the speed of the parent bullet and it will use this dude's direction element.

Clone this wiki locally