Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » WeaponBag
WeaponBag [message #484697] Sat, 30 November 2013 10:29 Go to previous message
Neijwiert is currently offline  Neijwiert
Messages: 124
Registered: October 2009
Karma:
Recruit
FIXED IT

There seems to be something wrong with the WeaponBagClass.

I have a situation where I select the most optimal weapon for a bot against a certain object. Everytime I have the exact same set-up, yet on some occasions the WeaponBagClass::Get_Count() returns 0. However I can see the weapon on the actual soldier in-game and it's the exact same soldier preset and everything I had before.

I do call my function multiple times, so it's not like those usual problems that you have to wait x time after creation to do y.

I can provide my whole code, so you guys can recreate this problem if you can't identify it in my code.

Toggle Spoiler

[Updated on: Sat, 30 November 2013 10:54]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Client Crash
Next Topic: Tiberian Technologies releases TT scripts 4.0 patch 1!
Goto Forum:
  


Current Time: Sat Dec 21 22:01:38 MST 2024

Total time taken to generate the page: 0.00709 seconds