Setting up the Player Controlled Platoon variable in Igor
By Jack57


______________________________________________________________________________________________________________________

This very important function often seems to cause problems for those starting out in Igor.
Why do we need to set a variable reference?
Basically it gives us a convenient reference to the player controlled platoon which we use while setting up our mission scripts.
It saves having to use a query each time for responses.
Most importantly however, it allows us to use the player controlled platoon for triggers
________________________________________________________________

We start by bringing up the Script editing window.
Click 'Script' at the top of the Igor window and selecting 'Edit' from the drop down menu.

1 Click 'New'  to bring up a new 'Block' window
2  Click 'Edit' to bring up the 'Trigger Event' menu, and select 'Startup'
from the drop down menu. Click 'OK' to return to the 'Block' window
3  In the 'Responses' section, click 'Add' to bring up a new 'Response' window
4  Select 'VariableSetPlatoon' from the drop down menu

____________________________

 

 

5 Click on the uppermost 'Edit' button on the 'variable' tab of the 'Response' window
6 In the 'Name' field, type in PlayerPlatoon
7 Click 'Add'  and then 'Close' to return to the 'Response' window

____________________________

 

  8 First select the 'platoon' tab, and then click on the lower 'edit' button
  9 Click the drop down menu and select 'GetPlayerPlatoon' from the list
10 Click 'OK' to return to the 'Response' window

____________________________

 

11 Click 'OK'  on the  'Response' window

____________________________

12 Your 'StartUp' block window should look like this!

 

 

Ghost Recon Mod Collection

Ghost Recon Future Soldier Twitter Ghost Recon.net Future Soldier Twitter Ghost Recon.net Future Soldier Facebook