Jump to content
Sign in to follow this  
mikkol

Is BIS_fnc_unpackStaticWeapon working? or how to get it working?

Recommended Posts

Hey!

I tried to search about BIS_fnc_unpackStaticWeapon from forum but didint find anything about it.. So anybody know how to get BIS_fnc_unpackStaticWeapon working? or is it broken?

If i try, my game freezes about 5 sec and it doesnt do nothing .

Share this post


Link to post
Share on other sites

Description:

Function which uses a weapon team to pack a static weapon such

as the HMG or Mortar. Requires three personnel in the team as

a minimum (leader, gunner, assistant).

Parameter(s):

_this select 0: the support team group (group)

_this select 1: location to place gun (position)

_this select 2: location of target (position)

---------- Post added at 01:47 ---------- Previous post was at 01:40 ----------

You need to set down an infantry support mortar team. Under the leader put mortarGrp = group this

For testing using a radio trigger put this in:

null = [mortarGrp, getMarkerPos "unpackMrk",getMarkerPos "targetmrk"] spawn BIS_fnc_unpackStaticWeapon

I used unpackMrk as my unpack location and obviously targetMrk was the target area.

Hope this helps.

For packing the weapon system using BIS_fnc_packStaticWeapon:

Description:

Function which uses a weapon team to pack a static weapon such

as the HMG or Mortar. Requires three personnel in the team as

a minimum (leader, gunner, assistant).

Parameter(s):

_this select 0: the support team group (group)

_this select 1: the weapon (option if weapon registered as "supportWeaponSetup" variable)

Edited by cobra4v320

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×