Brief example of enabling a weapon upgrade?

sLoPpYdOtBiGhOlE
Scavenger
Posts: 36
Joined: 12 Jun 2017, 23:44

Brief example of enabling a weapon upgrade?

Postby sLoPpYdOtBiGhOlE » 16 Jan 2018, 23:49

Hi,
How do I enable a weapon upgrade via script?

As a task reward I'm giving a weapon with attached addons eg: scope, silencer, grenade launcher.
I managed to work out how to reward the weapon with attached addons via the standard task system.

But one weapon I want to give needs an upgrade enabled to add the scope.
And another weapon needs a grenade launcher upgrade to attach the launcher.
I don't have any probs checking and attaching the addons, providing their required weapon upgrades are enabled.

Any pointers to a brief example of setting weapon upgrades would be appreciated.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest