Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Help
»
Subtract a variable from another variable
« previous
next »
Print
Pages: [
1
]
Author
Topic: Subtract a variable from another variable (Read 405 times)
Zenthrox
July 11, 2010, 05:42:09 PM
How do I set it up so I can use a variable to modify another variable? Example:
Player has 25 attack power (client variable)
Bot has 30 hp (brick variable)
Player clicks on Bot
30 hp - 25 attack variable = 5 hp left for the Bot
Has anyone done this before? If not, does anyone know how to do it?
Ad Bot
Advertisement
Zenthrox
July 11, 2010, 06:44:21 PM
Bump for possibility of help?
phflack
July 11, 2010, 07:57:23 PM
you can, easily
input>target>vce_modvariable[varaiblename][subtract][<var:target:valuethingy>]
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Help
»
Subtract a variable from another variable