Blockland Forums > Help
Variable events v6; EXP for money exchange help
Pages: (1/1)
Zenthrox:
I'm using Variable Events v6, and I'm currently trying to make an event list so that a player can kill a bot enemy, receive one EXP and then have his current EXP displayed.
Then, he would have to go back to press a button to convert that EXP into points, which he can use to buy new weapons.
I'm currently having two problems.
1. When I have it print how much EXP the player has, the client prints <var:pl:EXP> more than half the time. Here's a picture of what I have concerning the variables:
2. How do I have the events find the value of the variable "EXP" and then use that value to add that much to the player's score?
Help will be appreciated, as I'd like to learn how to use these events.
Lugnut:
Your using the "Killer(Client)" Target Event, so It might not work very well. I don't know though.
Also, Target the killer client when adding EXP. that way, they won't lose it if they die.
I'de love to find out about #2 also.
Zenthrox:
--- Quote from: Lugnut1206 on November 30, 2009, 03:57:47 PM ---Also, Target the killer client when adding EXP. that way, they won't lose it if they die.
I'de love to find out about #2 also.
--- End quote ---
Actually, that's the reason I want it to be to the player. If they die before they can convert it, they lose it. Once they convert it, though, it's safe.
Zenthrox:
No editing in Help Section. -_-
--- Quote from: Lugnut1206 on November 30, 2009, 03:57:47 PM ---Your using the "Killer(Client)" Target Event, so It might not work very well. I don't know though.
--- End quote ---
I think that's the case. I tried a short event with just "Player" instead of "Killer" and it works fine.
Zenthrox:
No editing in Help Section. -_-
Is there anyone who could answer my second question?
Pages: (1/1)