GameMaker Touhou Engine   Home   Downloads   Documentation

_ENEMY_SET_UNTARGETABLE()


A script that makes an enemy (un)targetable.


Returns: Void


Syntax:


_ENEMY_KILL(en, un)

Arguments:


Name Value Significance
en <object> The target enemy. (Must inherit from _ENEMY_PARENT or _BOSS_PARENT)
un <boolean> true: The enemy should be untargetable. false: The enemy should be targetable.

Actions: Set en's _UNTARGETABLE to un.