START
Script, Alien, XCoord, YCoord, Flags
Args:
Script:
the start address of a new script to run.
Alien:
the base address of the alien’s structure to use.
XCoord:
start x coordinate (hires).
YCoord:
start y coordinate (hires).
Flags: sprite flags (and over-rides). These can be:
KillClip: sprite is killed once it goes off screen.
Child: sprite being started is a child of the last path
spawned. When the parent dies, all the children die as well.
Group:
sprite is part of the current group.
NoCollision:
sprite does not collide with player.
NoShoot:
sprite can not be shot.
Cycles:
1Spawns a new sprite at a specific location. This is one of the main
commands and controls the flow of aliens.
Script is the start
address of a new script to run and attaches the Baddie Info
Structure Alien to that script.
Example:
moving an alien.
Start SideOnU_Path, RoundBaddie, 330, 70, KillClip
SideOnU_Path is the label associated with a script that moves the
baddies in a side on U shape.
RoundBaddie is a structure describing a round shaped alien.
330,70 is the starting coordinate of the sprite (just off the screen).
KillClip is a flag the tells the script engine to kill the sprite
once its been on screen, and then gone off again. |