Author Topic: Multiple Variables HELP?  (Read 2605 times)

And the bottom.

For where you are putting <var:pl:gold> change it to <var:cl:Gold>


Now it's not even giving me my battle axe. Before it was giving me a scimitar and a battle axe now it is just giving me two scimitars...

When I hit scimitar in my Var link it works fine. I get one Scimitar howevr, when I hit battle Axe I get two scimitars...Here are my newly improved events.

Here is the bottom half.

Gonna log off for the night. I'll be on tomorrow. Please post your comments and suggestions. I need your help.

You must make the variable on the client set to zero.
Add
OnVariableUpdate>Client>ModVariable>[variable name]Set[0]
Add one for each of the item variables.

I did this a while ago and encountered the same problem. I even made a video of it. Might help
http://www.youtube.com/watch?v=GBIvd0bmvD4&feature=related
Skip ahead to 1:50 to see the working set of events.


Yeah thats not gonna work. My variable is Gold. If I set it to zero it makes the player have no money...




EDIT: The thing I can't figure out is why it give me two Scimitars when I click battle axe...It should at least give me one scimtar and one battle axe. It also turns out the the scimitar var link is working with the battle axe client. So when I buy a Scimitar it says I have bought a battle axe...This is annoying lol.

Edit Edit: I got it to give me both a Scimitar and Battle axe when I hit battle axe...Scimitar is still saying "You have purchased a battle axe for 25 gold" when I buy one...
« Last Edit: January 29, 2011, 11:56:08 AM by namone »

You should really just script these kinds of things.

Yeah well I don't know how to script so your not helping.

You forgot to put the range of events in a couple of the conditional events.

Here are my current events.

And the bottom half.