Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » ArmedObjects having NULL weapons in their weapon list
Re: ArmedObjects having NULL weapons in their weapon list [message #490202 is a reply to message #490201] Wed, 31 December 2014 07:49 Go to previous messageGo to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3813
Registered: July 2006
Location: USA
Karma:
General (3 Stars)
Neijwiert wrote on Wed, 31 December 2014 07:46

Then why is it called Nod_Turret_MP?
MP = Multiplayer.
Also you could just do Commands->Select_Weapon(obj, NULL); whichs deselects your weapon even if you have one. So there must be some logic for that.

EDIT:
Also there's a function called Deselect in WeaponBagClass.

And those functions might just switch to the NULL weapon is all I'm saying.

Either that or your just seeing the end of the list IE:
Weapon1->next = Weapon2
Weapon2->next = NULL


[Updated on: Wed, 31 December 2014 07:50]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: scripts 4.2 RC1 is now available for testing
Next Topic: Scripts 4.2 to enter private beta testing soon, here are some changes in it
Goto Forum:
  


Current Time: Sun Dec 29 09:55:07 MST 2024

Total time taken to generate the page: 0.01006 seconds