GameMaker Touhou Engine   Home   Downloads   Documentation

_ENEMY_BOSS_SET_MOVE_PATTERN()


A script that combines all of the other _ENEMY_BOSS_SET_MOVE... scripts into one.


Returns: Void


Syntax:


_ENEMY_BOSS_SET_MOVE_PATTERN(type, speed, acc, single, interval, nx, ny, mnx, mny, mxx, mxy, obj)

Arguments:


Name Type Significance
type Non-negative Integer The boss' movement type. (See _BOSS_MOVE macros)
spd Integer The boss' movement speed.
acc Float The boss' deacceleration.
single Boolean Whether or not this movement should only be performed once.
interval Non-negative Integer The time that should pass between the boss' individual movements.
nx Integer The X coordinate of the point the boss is moving towards (ineffective if the boss is moving randomly).
ny Integer The Y coordinate of the point the boss is moving towards (ineffective if the boss is moving randomly).
mnx Integer The minimum X-coordinate the boss can move towards.
mny Integer The minimum Y-coordinate the boss can move towards.
mxx Integer The maximum X-coordinate the boss can move towards.
mxy Integer The maximum Y-coordinate the boss can move towards.
obj Reference to Object The boss object.

Any of these save for obj can be set to noone for the script to ignore them.