BIS fnc animalBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma 3 |= Game name


|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Animal behaviour control. Called by Animals_F\Data\Scripts\main.fsm. |= Description
____________________________________________________________________________________________


Description:
| [animal] call [[BIS_fnc_animalBehaviour]] |= Syntax
Animal behaviour control. Called by Animals_F\Data\Scripts\main.fsm.
____________________________________________________________________________________________
Parameter(s):
_this select 0: OBJECT - Controlled animal.
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= animal: [[Object]] - The controlled animal|= Parameter 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_animalBehaviour]]; --> |= Syntax
| [[Nothing]]|= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[animal] [[call]] [[BIS_fnc_animalBehaviour]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 18:43, 2 June 2018

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.