Forum Jump :

Author Message


Posts: 1
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2015-06-12 17:00        
     
Ok, i am using unsung and ace in this mission and im trying to have an ammo box spawn next to the other ones as a reward for capturing an enemy vehicle. The vehicles name is guntruck and so far i have a script that activates when it arrives at base.

Guntruck in thislist

Also if i need the proper name for an ammo box its an unsung box and ill need a link to the names of that stuff

Thank you


Author Message


Posts: 104
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#2 Posted at 2015-07-24 07:11        
     
This should work if you place it in the trigger's init.
_ammo = "USBasicWeaponsBox" createVehicle getMarkerPos "marker1";
Also place down a marker where you want the ammo box to spawn and name the marker "marker1" (no quotations).
As for the classnames ftp://ftp.ofpr.info/armad/docs/OpHandbook%20for%20Unsung%20ArmA%202%20-%20Release%202.pdf
At the bottom of that pdf is the list of most of the classnames, except I couldn't find the classnames for the ammo box's. But there is a way to get the classnames. Place the box you want down and put this in its init
hint format ["%1",typeOf this]
then preview the mission and in the top right it will show you the classname and just replace the USBasicWeaponsBox with the classname of the box you want. For example the us army armory in unsung is uns_AmmoBoxUS_army so the code would be
"uns_AmmoBoxUS_army" createVehicle getMarkerPos "marker1";

This post was edited by warhawk373 (2015-07-24 17:23, 815 days ago)