Module: Animals – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory *\| *arma3 *\| +" to "{{GameCategory|arma3|")
m (Text replacement - "<code> +" to "<code>")
Line 19: Line 19:
== Module Variables ==
== Module Variables ==
All variable associated with this module. found with [[allVariables]], accessed using  
All variable associated with this module. found with [[allVariables]], accessed using  
<code> _module [[getVariable]] "variableName"</code>
<code>_module [[getVariable]] "variableName"</code>


#"bis_fnc_moduleexecute_activate"
#"bis_fnc_moduleexecute_activate"

Revision as of 22:47, 10 June 2021

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