Module: Animals – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> +" to "<code>")
m (Text replacement - "bis_fnc_" to "BIS_fnc_")
Line 21: Line 21:
<code>_module [[getVariable]] "variableName"</code>
<code>_module [[getVariable]] "variableName"</code>


#"bis_fnc_moduleexecute_activate"
#"BIS_fnc_moduleexecute_activate"
#*[[Boolean]]
#*[[Boolean]]
#"bis_fnc_moduleinit_iscuratorplaced"
#"BIS_fnc_moduleinit_iscuratorplaced"
#*[[Boolean]]
#*[[Boolean]]
#"bis_fnc_moduleinit_status"
#"BIS_fnc_moduleinit_status"
#*[[Boolean]]
#*[[Boolean]]
#"count"
#"count"
#*[[Number]]
#*[[Number]]
#"bis_fnc_initmodules_activate"
#"BIS_fnc_initmodules_activate"
#*[[Boolean]]
#*[[Boolean]]
#"bis_fnc_initmodules_priroty"<!-- Not my typo. Copied exactly as it is in game, do not change! -->
#"BIS_fnc_initmodules_priroty"<!-- Not my typo. Copied exactly as it is in game, do not change! -->
#*[[Number]]
#*[[Number]]
#"type"
#"type"

Revision as of 19:24, 20 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