GameMaker Touhou Engine   Home   Downloads   Documentation

_ENEMY_BOSS_SET_MOVE_BOUNDARY()


A script that sets the boundaries which the boss is allowed to move in while moving randomly.


Returns: Void


Syntax:


_ENEMY_BOSS_SET_MOVE_BOUNDARY(mnx, mny, mxx, mxy, obj)

Arguments:


Name Type Significance
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, however this should only be if those have already been set.