playMaker

Author Topic: made a Int variable change using a button [SOLVED]  (Read 2071 times)

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
made a Int variable change using a button [SOLVED]
« on: March 11, 2013, 02:36:15 PM »
another thing i try to do is to set a variable to change when the player click on corresponding button.

the value stored could after been used for anything, but for now i can't find the right way to set this...
« Last Edit: March 11, 2013, 03:10:44 PM by blackant »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: made a Int variable change using a button
« Reply #1 on: March 11, 2013, 02:45:47 PM »
The int will need to be a global variable. Use Int Add to change it, you can use negative numbers to subtract.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: made a Int variable change using a button
« Reply #2 on: March 11, 2013, 03:10:21 PM »
ok, thanks lane this works fine i can see my variable changing like i want.