BIS fnc animalBehaviour: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "[[Arma 3 " to "[[Arma 3: ") |
||
(5 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|s1= [animal] call [[BIS_fnc_animalBehaviour]] | |s1= [animal] call [[BIS_fnc_animalBehaviour]] | ||
|p1= animal: [[Object]] - | |p1= animal: [[Object]] - the controlled animal | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Line 16: | Line 16: | ||
|x1= <sqf>[animal] call BIS_fnc_animalBehaviour;</sqf> | |x1= <sqf>[animal] call BIS_fnc_animalBehaviour;</sqf> | ||
|seealso= [[Arma 3 Animals: Override Default Animal Behaviour Via Script | Animal Behaviour]] [[createAgent]] | |seealso= [[Arma 3: Animals: Override Default Animal Behaviour Via Script | Animal Behaviour]] [[createAgent]] | ||
}} | }} | ||
Line 22: | Line 22: | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on | <dd class="notedate">Posted on 2014-09-29 - 19:38 (UTC)</dd> | ||
<dt class="note">[[User: | <dt class="note">[[User:Killzone_Kid|Killzone_Kid]]</dt> | ||
<dd class="note">To override, add < | <dd class="note">To override, add <sqf>_agent setVariable ["BIS_fnc_animalBehaviour_disable", true];</sqf> right after agent creation.</dd> | ||
</dl> | </dl> |
Latest revision as of 10:38, 6 May 2024
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:
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 right after agent creation.