BIS fnc animalBehaviour: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma 3 |= Game name | ||
|1.00|= Game version | |1.00|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Animal behaviour control. Called by Animals_F\Data\Scripts\main.fsm. |= Description | ||
____________________________________________________________________________________________ | |||
| [animal] call [[BIS_fnc_animalBehaviour]] |= Syntax | |||
____________________________________________________________________________________________ | |||
|p1= animal: [[Object]] - The controlled animal|= Parameter 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Nothing]]|= 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
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.