BIS fnc animalBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - ">Posted on September ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-09-$1")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
Line 10: Line 10:
|s1= [animal] call [[BIS_fnc_animalBehaviour]]
|s1= [animal] call [[BIS_fnc_animalBehaviour]]


|p1= animal: [[Object]] - The controlled animal
|p1= animal: [[Object]] - the controlled animal


|r1= [[Nothing]]
|r1= [[Nothing]]

Revision as of 15:50, 8 November 2023

Hover & click on the images for description

Description

Description:
Animal behaviour control. Called by Animals_F\Data\Scripts\main.fsm.
Execution:
call
Groups:
Ambient

Syntax

Syntax:
[animal] call BIS_fnc_animalBehaviour
Parameters:
animal: Object - the controlled animal
Return Value:
Nothing

Examples

Example 1:
[animal] call BIS_fnc_animalBehaviour;

Additional Information

See also:
Animal Behaviour createAgent

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on 2014-09-29 - 19:38 (UTC)
Killzone Kid
To override, add
_agent setVariable ["BIS_fnc_animalBehaviour_disable", true];
right after agent creation.