The GetAILevel() NWScript command returns the "intensity" at which the AI of a creature should be operating. (For non-creature objects, the returned level is "very low", not "invalid" as might be expected.) BioWare uses this command to abort the standard OnHeartbeat event handler (nw_c2_default1) when the AI level is "very low" (typically meaning that the area can be considered "inactive" due to a lack of players seeing it).
Attributes | Values |
---|
rdfs:label
| |
rdfs:comment
| - The GetAILevel() NWScript command returns the "intensity" at which the AI of a creature should be operating. (For non-creature objects, the returned level is "very low", not "invalid" as might be expected.) BioWare uses this command to abort the standard OnHeartbeat event handler (nw_c2_default1) when the AI level is "very low" (typically meaning that the area can be considered "inactive" due to a lack of players seeing it).
- function GetAILevel (object oTarget=OBJECT_SELF) Gets the current AI Level that the creature is running at.
* Returns one of the following: AI_LEVEL_INVALID, AI_LEVEL_VERY_LOW, AI_LEVEL_LOW, AI_LEVEL_NORMAL, AI_LEVEL_HIGH, AI_LEVEL_VERY_HIGH
* Return type: int
* Include file: nwscriptdefn
|
dcterms:subject
| |
dbkwik:nwn2/proper...iPageUsesTemplate
| |
returns
| |
Name
| |
param
| |
param1default
| |
param1desc
| - The object whose AI level is to be returned.
|
dbkwik:nwn/property/wikiPageUsesTemplate
| |
abstract
| - The GetAILevel() NWScript command returns the "intensity" at which the AI of a creature should be operating. (For non-creature objects, the returned level is "very low", not "invalid" as might be expected.) BioWare uses this command to abort the standard OnHeartbeat event handler (nw_c2_default1) when the AI level is "very low" (typically meaning that the area can be considered "inactive" due to a lack of players seeing it).
- function GetAILevel (object oTarget=OBJECT_SELF) Gets the current AI Level that the creature is running at.
* Returns one of the following: AI_LEVEL_INVALID, AI_LEVEL_VERY_LOW, AI_LEVEL_LOW, AI_LEVEL_NORMAL, AI_LEVEL_HIGH, AI_LEVEL_VERY_HIGH
* Return type: int
* Include file: nwscriptdefn
|