Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Has anyone else used Set_Bullets ()?
Has anyone else used Set_Bullets ()? [message #244653] Sat, 10 February 2007 05:59 Go to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
Whitedragon

That doesn't seem to work right. While it does make the pistol start with 12 loaded bullets, the ammo count starts to display incorrectly once you fire and reload a few times.


^^ Is that a known issue with the Set_Bullets() engine call? P.S. the bug is triggered by adding this line of code:
Set_Bullets (obj, "Weapon_Pistol_Player", 12);

to M00_GrantPowerup_Created::Created ()



HTT-Bird (IRC)
HTTBird (WOL)
Proud HazTeam Lieutenant.
BlackIntel Coder & Moderator.

If you have trouble running BIATCH on your FDS, have some questions about a BIATCH message or log entry, or think that BIATCH spit out a false positive, PLEASE contact the BlackIntel coding team and avoid wasting the time of others.
Re: Has anyone else used Set_Bullets ()? [message #246219 is a reply to message #244653] Wed, 21 February 2007 11:05 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
I think you have to attach it to the soldier actually.

Re: Has anyone else used Set_Bullets ()? [message #246266 is a reply to message #246219] Wed, 21 February 2007 15:57 Go to previous messageGo to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
Jerad Gray wrote on Wed, 21 February 2007 12:05

I think you have to attach it to the soldier actually.

The script is already being attached to the soldiers by SSAOW.


HTT-Bird (IRC)
HTTBird (WOL)
Proud HazTeam Lieutenant.
BlackIntel Coder & Moderator.

If you have trouble running BIATCH on your FDS, have some questions about a BIATCH message or log entry, or think that BIATCH spit out a false positive, PLEASE contact the BlackIntel coding team and avoid wasting the time of others.
Re: Has anyone else used Set_Bullets ()? [message #246310 is a reply to message #246266] Wed, 21 February 2007 20:44 Go to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
=HT=T-Bird wrote on Wed, 21 February 2007 15:57

Jerad Gray wrote on Wed, 21 February 2007 12:05

I think you have to attach it to the soldier actually.

The script is already being attached to the soldiers by SSAOW.

Ya, I know he said he was attaching it to power ups.


Previous Topic: in need of some dynamic linked library help
Next Topic: CnC Reborn Dev. Blog :: 02/18/07
Goto Forum:
  


Current Time: Wed May 15 06:33:21 MST 2024

Total time taken to generate the page: 0.00655 seconds