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 #490199 is a reply to message #490197] Wed, 31 December 2014 07:39 Go to previous messageGo to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3808
Registered: July 2006
Location: USA
Karma:
General (3 Stars)
Neijwiert wrote on Wed, 31 December 2014 07:34

Is there a reason for this to happen? Same story as my other post regarding duplicate stock scripts. In the map C&C_Hourglass.mix I have found that on LoadLevel the preset Nod_Turret_MP has a NULL WeaponClass pointer in their weapon list.

EDIT:
It appears that it concerns 2 different turrets with IDs:
1500244 and 1500245 they both have one NULL weapon in their weapon list.

I assume its for like in single player when you don't have any guns. They probably just leave the option to switch to the null weapon there so they don't have to add some hacky way to add a null weapon for empty hands/no weapon if no weapon gets selected. Or maybe your just seeing the end pointer of the list?


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

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 Sep 29 22:41:52 MST 2024

Total time taken to generate the page: 0.01003 seconds