Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Variables


aster
 Share

Recommended Posts

is there anyway to give a player gold = to X variable

I'm messing around with 4.0 events and trying to make a stall that increaes gold every 5 seconds by 1 and then the player can collect it.

edit: or even make the variable increase while you aren't on the map

- Couldn't do what i wanted as of the current event system. Instead I just made it increase while player on map with parallel process and increase a var every couple seconds after var reached set amount the event wld show up.. Little bland I guess
Link to comment
Share on other sites

Since events are handled only for online players, this idea wouldn't work out I'm afraid. I could think of various ways to implement this in the old scripting engine, but not the event system. (Since it runs on a per-map and per-player basis, the player would need to be on a specific map and online for it to count up.) Not sure if you can use a variable as an amount of an item to gain, I've never tried that though.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...