Page MenuHomeFeedback Tracker

Script command AMMO returns 0 when player in vehicle
Closed, ResolvedPublic

Description

systemchat str(player ammo primaryWeapon player) return 0 for non FFV positions.

Details

Legacy ID
3803489861
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  1. Get in vehicle (not FFV position)
  2. Run systemchat str(player ammo primaryWeapon player);

Event Timeline

ruPaladin edited Steps To Reproduce. (Show Details)Nov 5 2015, 3:20 PM
ruPaladin set Category to Scripting.
ruPaladin set Reproducibility to Always.
ruPaladin set Severity to None.
ruPaladin set Resolution to Fixed.
ruPaladin set Legacy ID to 3803489861.May 8 2016, 1:03 PM
F2kSel added a subscriber: F2kSel.May 8 2016, 1:03 PM

Isn't that because the weapon has in effect been stored and no longer primary?

commy2 added a subscriber: commy2.May 8 2016, 1:03 PM
commy2 added a comment.Nov 6 2015, 2:09 PM

^ Then why is "primaryWeapon player" still the same rifle then? That doesn't change whether you are in a vehicle or not. Neither should the ammo.

Should be fixed in tomo DEV

It wasn't fixed. The issue still in with 1.54 stable.

It is possible it didnt make into stable.

It is a pity. Will wait for next release then.

Fixed in dev build! Thank you.