Jump to content
Sign in to follow this  
Jormangeud

Get functions

Recommended Posts

I have been wondering for quite a long time how one is able to get e.g. the weapon's name of a specific unit.

For example, if I wanted to add ammo for the unit, I have to know the weapon first, right?

So, are there any functions returning these:

- type of unit

- weapon's name

- number of clips

- ammo type

- (the whole loadout of a unit)

Thanks.

Jorg out.

Share this post


Link to post
Share on other sites

As I know there are no exact functions for this.

There are some functions that can help very little :

unit hasWeapon "weaponName"

unit ammo "magazineName"

someAmmo unit

nearestObject position

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  

×