BIS fnc animalBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Animal behaviour control. Called by Animals_F\Data\Scripts\main.fsm. |= Description
| Animal behaviour control. Called by Animals_F\Data\Scripts\main.fsm. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [animal] call [[BIS_fnc_animalBehaviour]] |= Syntax
| [animal] call [[BIS_fnc_animalBehaviour]] |SYNTAX=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Nothing]]|= Return value
| [[Nothing]]|RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Arma 3 Animals: Override Default Animal Behaviour Via Script | Animal Behaviour]], [[createAgent]]|= See also }}
| [[Arma 3 Animals: Override Default Animal Behaviour Via Script | Animal Behaviour]], [[createAgent]]|SEEALSO= }}





Revision as of 11:26, 7 April 2019

Hover & click on the images for description

Description

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

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 BehaviourcreateAgent

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


Notes

Bottom Section

Posted on September 29, 2014 - 19:38 (UTC)
Killzone Kid
To override, add _agent setVariable ["BIS_fnc_animalBehaviour_disable", true]; right after agent creation.