Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » DynamicVectorClass problems
Re: DynamicVectorClass problems [message #453976 is a reply to message #453975] Sat, 10 September 2011 15:14 Go to previous messageGo to previous message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma:
General (1 Star)
halo2pac wrote on Sat, 10 September 2011 15:07

ah, I see.

Also it is requiring that I use a default constructor, which I do not want the default constructor because apparently it is setting my integers to integer.max.

Is there a way around this?

I am trying to do a simple class to store player information.. so that if they disconnected and rejoin they don't loose some levels/powerups/ect. Which requires maintaining a custom list of player data.



The default constructor isn't setting them to anything. You do need to provide a constructor and have it set the values to whatever you want the defaults to be.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Post scripts 4.0 code questions here
Next Topic: LOD models
Goto Forum:
  


Current Time: Fri Oct 18 06:03:12 MST 2024

Total time taken to generate the page: 0.00699 seconds