Module: Animals – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Some wiki formatting)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[File:AnimalsModule.png|thumb]]
Creates a group of animals and handles their basic behavior.  Deleting the module will delete animals as well.
Creates a group of animals and handles their basic behavior.  Deleting the module will delete animals as well.


== Species ==
 
== Parameters ==
 
=== Species ===
 
Determines the animal spawned by the module.
Determines the animal spawned by the module.


Line 9: Line 14:
# Seagulls
# Seagulls
# Butterflies
# Butterflies
== Count ==
 
=== Count ===
 
The number of animals spawned.  Caution: Too high of a number will overload the engine and possibly cause it to crash, or otherwise run very poorly.
The number of animals spawned.  Caution: Too high of a number will overload the engine and possibly cause it to crash, or otherwise run very poorly.


[[Category:Arma 3: Editor Modules]]
 
== Synching Diagram ==
 
[[File:AnimalsModuleInfo1.png]] [[File:AnimalsModuleInfo2.png]]
 
 
== Module Variables ==
 
All variable associated with this module. found with [[allVariables]], accessed using
<sqf>_module getVariable "variableName";</sqf>
 
# "BIS_fnc_moduleexecute_activate"
#* [[Boolean]]
# "BIS_fnc_moduleinit_iscuratorplaced"
#* [[Boolean]]
# "BIS_fnc_moduleinit_status"
#* [[Boolean]]
# "count"
#* [[Number]]
# "BIS_fnc_initmodules_activate"
#* [[Boolean]]
# "BIS_fnc_initmodules_priroty"<!-- Not my typo. Copied exactly as it is in game, do not change! -->
#* [[Number]]
# "type"
#* [[String]] - Class name of chosen animal. Example: ''"Sheep_random_F"''
# "animals"
#* [[Array]] - Array of every animal ([[Object]]) Spawned by this module. Example: ''Agent 0x8a3282c0''
 
 
{{GameCategory|arma3|Editor Modules}}

Latest revision as of 16:02, 15 July 2022

AnimalsModule.png

Creates a group of animals and handles their basic behavior. Deleting the module will delete animals as well.


Parameters

Species

Determines the animal spawned by the module.

  1. Sheep
  2. Goats
  3. Poultry
  4. Seagulls
  5. Butterflies

Count

The number of animals spawned. Caution: Too high of a number will overload the engine and possibly cause it to crash, or otherwise run very poorly.


Synching Diagram

AnimalsModuleInfo1.png AnimalsModuleInfo2.png


Module Variables

All variable associated with this module. found with allVariables, accessed using

_module getVariable "variableName";

  1. "BIS_fnc_moduleexecute_activate"
  2. "BIS_fnc_moduleinit_iscuratorplaced"
  3. "BIS_fnc_moduleinit_status"
  4. "count"
  5. "BIS_fnc_initmodules_activate"
  6. "BIS_fnc_initmodules_priroty"
  7. "type"
    • String - Class name of chosen animal. Example: "Sheep_random_F"
  8. "animals"
    • Array - Array of every animal (Object) Spawned by this module. Example: Agent 0x8a3282c0