| Blockland Forums > Help |
| VCE : Saving and Loading Variables |
| (1/1) |
| Tezuni:
Aight, so how do you save/load VCE vars? I decided to switch over, for the most part to VCE after I saw how much more potential it has compared to old vars. |
| Tezuni:
Also, > is apparently a less than sign in VCE. As well as < being a greater than sign. =| |
| Tezuni:
Ok I found out saving client stuff is under Self not client, but anyways the >= problem still exists. |
| Tezuni:
Simplified Scenario: Ore Brick: --- Code: ---1. OnActivate > Client > VCE_ModVariable (Wheat) [Add] (1) --- End code --- *Player Harvests 10 Wheat* Selling Booth: --- Code: ---1. OnActivate > Self > VCE_IfVariable (Wheat) [>=] (10) (2 4) 2. OnVariableTrue > Self > VCE_ModVariable (Wheat) [Subtract] (10) 3. OnVariableTrue > Self > VCE_ModVariable (Gold) [Add] (10) 4. OnVariableFalse > Client > ChatMsg > [You need at least 10 wheat to sell.] --- End code --- After harvesting 10 wheat and then clicking the sell booth, it is saying: "You need at least 10 wheat to sell." |
| Navigation |
| Message Index |