TriggerPerception

From Dragon Age Toolset Wiki
Revision as of 22:22, 2 March 2010 by BryanDerksen (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Makes a creature be perceived as long as its within the outer perception radius

int TriggerPerception(
object oPerceivingCreature,
object oPerceivedCreature
);
Parameters:
oPerceivingCreature
The creature that will see another creature
oPerceivedCreature
The creature that is being seen
Returns:

TRUE if the creature is percieved, FALSE otherwise

Source:

script.ldf

Description

This command goes beyond the normal AI perception ring, but will return false if the creature to be perceived is dead, the same as the perceiving creature or beyond the visual radius (about 60m).