Difference between revisions of "Script Repository"

From Weapons Release Wiki
Jump to: navigation, search
Line 1: Line 1:
Put your Lua scripts here.  
+
Put your Lua scripts here.
  
 
Please add a description of functionality and use the <nowiki><code> Code here. </code></nowiki> tags.
 
Please add a description of functionality and use the <nowiki><code> Code here. </code></nowiki> tags.
 +
 +
===Airfields===
 +
 +
* This script places a unit into an airbase.
 +
 +
<code>
 +
ScenEdit_AddUnit({type = 'Air', unitname = 'F-15C Eagle', loadoutid = 16934, dbid = 3500, side = 'Mercs', base='Home'})
 +
</code>

Revision as of 15:13, 2 April 2018

Put your Lua scripts here.

Please add a description of functionality and use the <code> Code here. </code> tags.

Airfields

  • This script places a unit into an airbase.

ScenEdit_AddUnit({type = 'Air', unitname = 'F-15C Eagle', loadoutid = 16934, dbid = 3500, side = 'Mercs', base='Home'})