Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 5:15 pm
All times are UTC + 0
Increase/decrease by one local variable
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
defcom
Vehicle Drone


Joined: 24 May 2015

PostPosted: Tue May 26, 2015 5:38 am    Post subject:  Increase/decrease by one local variable Reply with quote  Mark this post and the followings unread

Is there any way to increase a local variable one at a time.

For example:

- i create VAR_TITS
- if i buy a TITAN then VAR_TITS must increase by one
- otherwise if enemy destroy one TITAN then VAR_TITS must decrease by one.

Thanks

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Tue May 26, 2015 9:36 am    Post subject: Reply with quote  Mark this post and the followings unread

No. Variables (local or global) are only boolean true/false or 0/1. There is no integer variable available (unfortunately).

defcom wrote:
VAR_TITS


Huh huh, he said tits.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
defcom
Vehicle Drone


Joined: 24 May 2015

PostPosted: Tue May 26, 2015 1:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

GG. I wanna try to say TITS = TITANS xD.

Well, existe any way to have integer variable in game ?

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1341s ][ Queries: 11 (0.0091s) ][ Debug on ]