Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

Ability to get ammo type from player inventory's weapons

Here you can find ScriptAPI suggestions implemented in the game.
Forum rules
By using the forum you agree to the following rules.
Locked
User avatar
JakSparro98
Superfighter
Superfighter
Posts: 530
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Gender:
Age: 25

Ability to get ammo type from player inventory's weapons

Post by JakSparro98 » Tue Apr 02, 2019 4:01 pm

A getter method that returns ProjectilePowerup when called from RifleWeaponItem or HandgunWeaponItem to know if a player is equipping a weapon with special ammo and of what kind.
4 x

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1884
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 34

Post by Gurt » Wed Jul 24, 2019 4:20 pm

Will come in the 1.3.0 update. See viewtopic.php?f=22&t=3765 for some more information. The full ScriptAPI will be visible in the patch notes at a later time.
1 x
Gurt

Locked