BIS fnc animalBehaviour: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "| arma 3 |Game name=" to "| arma3 |Game name=") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Ambient |GROUP1= | |gr1 = Ambient |GROUP1= | ||
| 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= | ||
|p1= animal: [[Object]] - The controlled animal|PARAMETER1= | |p1= animal: [[Object]] - The controlled animal|PARAMETER1= | ||
| [[Nothing]]|RETURNVALUE= | | [[Nothing]]|RETURNVALUE= | ||
|x1= <code>[animal] [[call]] [[BIS_fnc_animalBehaviour]];</code> |= | |x1= <code>[animal] [[call]] [[BIS_fnc_animalBehaviour]];</code> |= | ||
| [[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]]|SEEALSO= }} |
Revision as of 22:35, 16 January 2021
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 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.