User Tools

Site Tools


arma:scripting:pmc_logic1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
arma:scripting:pmc_logic1 [2009/04/10 00:59] – C++ formatting to the code part. snakemanarma:scripting:pmc_logic1 [2024/08/01 10:43] (current) – links added. snakeman
Line 1: Line 1:
-====== Units on GameLogics ======+====== ArmA 1 Units On GameLogics ======
  
-**Units on GameLogics** by Snake Man+[[https://www.pmctactical.org/forum/viewforum.php?f=42|ArmA 1 Forum]], [[:arma|ArmA 1 Home]], [[arma:config|ArmA 1 Config]], [[arma:tools|ArmA 1 Tools]], [[arma:file_formats|ArmA 1 File Formats]], [[arma:missions|ArmA 1 Missions]], [[arma:modeling|ArmA 1 3D Modeling]], [[arma:terrain|ArmA 1 Terrain]], [[arma:texturing|ArmA 1 Texturing]], [[arma:scripting|ArmA 1 Scripting]] 
 + 
 +**ArmA 1** aka Armed Assault (ArmA) 
 + 
 +**Units On GameLogics** by Snake Man
  
 This was the very first script I put together, took a look Evolutions makeshilka function and adapted that. This will scan all **gameLogic**s named "**pmc_**?" where the **?** is a number digit ranging from **1** to **10** or more. Then if it finds a match, it runs the functions to create vehicle + soldiers in that gamelogic's grid coordinates position. This was the very first script I put together, took a look Evolutions makeshilka function and adapted that. This will scan all **gameLogic**s named "**pmc_**?" where the **?** is a number digit ranging from **1** to **10** or more. Then if it finds a match, it runs the functions to create vehicle + soldiers in that gamelogic's grid coordinates position.
Line 21: Line 25:
  !(isNull _grp);  !(isNull _grp);
  };  };
- +
  "SoldierECrew" createUnit [_respawnpoint, _grp];  "SoldierECrew" createUnit [_respawnpoint, _grp];
  "SoldierECrew" createUnit [_respawnpoint, _grp];  "SoldierECrew" createUnit [_respawnpoint, _grp];
Line 56: Line 60:
  !(isNull _grp);  !(isNull _grp);
  };  };
- +
  "SquadLeaderE" createUnit [_respawnpoint, _grp];  "SquadLeaderE" createUnit [_respawnpoint, _grp];
  "TeamLeaderE" createUnit [_respawnpoint, _grp];  "TeamLeaderE" createUnit [_respawnpoint, _grp];
Line 96: Line 100:
 </code> </code>
 The vehicles come in random type, however soldiers are always the "basic squad" style. The vehicles come in random type, however soldiers are always the "basic squad" style.
 +
arma/scripting/pmc_logic1.1239325159.txt.gz · Last modified: 2009/04/10 00:59 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.