Module: Animals – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
 
(8 intermediate revisions by 2 users not shown)
Line 2: Line 2:
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 10: 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.


== Synching chart ==
 
== Synching Diagram ==
 
[[File:AnimalsModuleInfo1.png]] [[File:AnimalsModuleInfo2.png]]
[[File:AnimalsModuleInfo1.png]] [[File:AnimalsModuleInfo2.png]]


==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>
<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''


#"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''


[[Category:Arma 3: Editor Modules]]
{{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