Forum Jump :

Author Message


Posts: 28
Rank:


Level: Member

Country: be
Location: Flanders
Occupation: student
Age:
In-game name:

 
#1 Posted at 2017-06-13 14:25        
     
So in this mission i want to have a kind off random loadout for the wasp but for some reason things aren't exactly working.

The code i have:
https://pastebin.com/uzesF004

This code won't put the missiles on the outer pylons but if i run this it does put them on:

this setPylonLoadOut [1, "PylonRack_Missile_BIM9X_x2",false,[]];
this setPylonLoadOut [2, "PylonRack_Missile_BIM9X_x2",false,[]];
this setPylonLoadOut [3, "PylonRack_Missile_BIM9X_x2",false,[]];
this setPylonLoadOut [4, "PylonRack_Missile_BIM9X_x2",false,[]];

Any ideas why?

Added 6 minutes later:

never mind, fixed by adding the following to the beginning of the script

private ["_AMRAAMcount","_innerpylon","_outerpylon"];

This post was edited by gg1gamer (2017-06-13 14:32, 131 days ago)

If you're going through hell,
keep going! -W. Churchill