Difference between revisions of "TriggerPerception"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(fix missing parameter, remove tag)
Line 1: Line 1:
{{Generated with errors}}
 
 
{{dafunction
 
{{dafunction
 
|name=TriggerPerception
 
|name=TriggerPerception
Line 8: Line 7:
 
|param2type=object
 
|param2type=object
 
|param2name=oPerceivedCreature
 
|param2name=oPerceivedCreature
|param2desc=
+
|param2desc=The creature that is being seen
 
|returntype=int
 
|returntype=int
 
|returndesc=
 
|returndesc=
Line 17: Line 16:
 
== Description ==
 
== Description ==
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
This command goes beyond the normal AI perception ring, but will return false
+
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).
if the creature to be perceived is dead, the same as the perceiving creature or
+
beyond the visual radius (about 60m).
+
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->

Revision as of 21:22, 2 March 2010

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:

[Undocumented]

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).