BIS fnc animalBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
Line 24: Line 24:
<dd class="notedate">Posted on September 29, 2014 - 19:38 (UTC)</dd>
<dd class="notedate">Posted on September 29, 2014 - 19:38 (UTC)</dd>
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt>
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt>
<dd class="note">To override, add <code>_agent [[setVariable]] ["BIS_fnc_animalBehaviour_disable", true];</code> right after agent creation.</dd>
<dd class="note">To override, add <code>_agent setVariable ["BIS_fnc_animalBehaviour_disable", true];</code> right after agent creation.</dd>


</dl>
</dl>

Revision as of 22:36, 12 July 2022

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 September 29, 2014 - 19:38 (UTC)
Killzone Kid
To override, add _agent setVariable ["BIS_fnc_animalBehaviour_disable", true]; right after agent creation.