GameMaker Touhou Engine   Home   Downloads   Documentation

_ENEMY_SET_UNTARGETABLE()


A script that makes an enemy (un)targetable.


Returns: Void


Syntax:


_ENEMY_SET_UNTARGETABLE(en, un)

Arguments:


Name Type Significance
en Reference to Object The target enemy. (Must inherit from _ENEMY_PARENT)
un Boolean Whether the enemy should become untargetable (true) or targetable (false).