| Blockland Forums > General Discussion |
| Multiple Variables HELP? |
| << < (8/10) > >> |
| GenaralSkar:
Crap, I messed up the events. Give me a minute... Edit: [0]OnActivate>Client>ChatMessage>[<varlink:Scimitar_scimitar:1> - 10 Gold] [1]OnActivate>Client>ChatMessave>[<varlink:Battle Axe_baxe:1> - 25 Gold] [2]OnVariableUpdate>Client>IfVariable>[scimitar]>=[1] [3 4] [3]OnVariableTrue>Client[or player where ever the gold variable is stored]>IfVariable[gold]>=[10] [6 7] [4]OnVariableFalse>Client>IfVariable[Baxe]>=[1] [5 5] [5]OnVariableTrue>Client[or player where ever the gold variable is stored]>IfVariable[gold]>=[25] [7 8] [6]OnVariableTrue>Player>additem>Scimitar [7]OnVariableTrue>Client[or player where ever the gold variable is stored]>ModVariable[gold][Subtract][10] [8]OnVariableTrue>Player>additem>Battle Axe [9]OnVariableTrue>Client[or player where ever the gold variable is stored]>ModVariable[gold][Subtract][25] [10][33]OnVariableUpdate>Client>ModVariable>[baxe][Set][0] [11][33]OnVariableUpdate>Client>ModVariable>[scimitar][Set][0] Ok, that should work. |
| namone:
Okay. |
| namone:
Let me try Edit: Scimitar works great. Battle Axe still won't work. I can't get the item when I click it though I have enough "gold" Here are my events after correcting them. |
| GenaralSkar:
In event 4 change Baxe to baxe, In event 3 change gold to Gold, and event 5 is wrong. Have to make sure all variables are spelled the same. |
| namone:
--- Quote from: GenaralSkar on January 29, 2011, 03:21:53 PM ---In event 4 change Baxe to baxe, In event 3 change gold to Gold, and event 5 is wrong. Have to make sure all variables are spelled the same. --- End quote --- Did that still battle axe doesn't work. |
| Navigation |
| Message Index |
| Next page |
| Previous page |