arma2:scripting:object-compositions
Differences
This shows you the differences between two versions of the page.
arma2:scripting:object-compositions [2013/05/06 12:48] – created object-compositions initial page. snakeman | arma2:scripting:object-compositions [2024/08/01 22:35] (current) – links added. snakeman | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ArmA 2 Object Compositions ====== | ====== ArmA 2 Object Compositions ====== | ||
+ | |||
+ | [[https:// | ||
**Introduction** | **Introduction** | ||
Line 5: | Line 7: | ||
The Dynamic Object module (DynO) was made to make spawning entire sets / templates of objects much easier (e.g. an entire base). It is possible to spawn specific sets of objects or ask a library for a random set matching a list of tags. The system is flexible so that anyone may grab new sets, register them and all systems using the DynO sets will spawn the new sets as well. | The Dynamic Object module (DynO) was made to make spawning entire sets / templates of objects much easier (e.g. an entire base). It is possible to spawn specific sets of objects or ask a library for a random set matching a list of tags. The system is flexible so that anyone may grab new sets, register them and all systems using the DynO sets will spawn the new sets as well. | ||
- | **How to add BIS compositions** | + | **How to add bis compositions** |
- | To add one of the BIS premade compositions simply create a gamelogic and the code below into the init field | + | To add one of the bis premade compositions simply create a gamelogic and the code below into the init field |
<code cpp> | <code cpp> | ||
_newComp = [(getPos this), (getDir this), " | _newComp = [(getPos this), (getDir this), " | ||
</ | </ | ||
- | Where " | + | Where " |
You can also spawn compositions by searching the library for matching tags, for example: | You can also spawn compositions by searching the library for matching tags, for example: | ||
<code cpp> | <code cpp> | ||
Line 280: | Line 282: | ||
}"; | }"; | ||
</ | </ | ||
+ |
arma2/scripting/object-compositions.1367844528.txt.gz · Last modified: 2013/05/06 12:48 by snakeman