Is there a way to quickly re-arrange the placement of the alterable values of an Active object to make them more convenient?
Printable View
Is there a way to quickly re-arrange the placement of the alterable values of an Active object to make them more convenient?
I don't think there is, but this would be a downright dandy feature for both alterable values and global values. I want this too.
I'd like to declare alterable / global values by code once at the start of the application, like you would with variables in any programming language. No need to bother anymore with the order of these values. Later you'd simply reference them by their name.
Code:• Start of Application //Yes this could be a new condition!
- "Special conditions": Declare Global Value "Game_Level" to 1
- "Special conditions": Declare Global Value "Game_NumPlayers" to 1
- "Special conditions": Declare Global Value "Game_MaxNumPlayers" to 4
- "Special conditions": Declare Global String "URL_Developer" to "www.oliverpearl.com"
- "Special conditions": Declare Global String "URL_Sponsor" to "www.sponsor.com"
- "Special conditions": Declare Global Flag "Game_Sound" to TRUE
- "Special conditions": Declare Global Flag "Game_Music" to FALSE
• Start of Application
- "Active": Declare Alterable Value "Health" to 5
- "Active": Declare Alterable Value "MaxHealth" to 10
- "Active": Declare Alterable String "Race" to "Human"
- "Active": Declare Alterable String "Rank" to "Peason"
- "Active": Declare Flag "IsActive" to TRUE
- "Active": Declare Flag "IsZombie" to FALSE
For Oliver: http://ext.neatwares.ath.cx/search/Named+Variables/
Even better: ValueAdd
Effectively adds unlimited alterable values to every object, accessed by name. Values are created on first use, so no worries about order...
Thank you guys, I know these extensions. I just wish MMF3 has something similar built-in.