Author Topic: Event Money  (Read 1384 times)

This is the perfect mod, that would fit into variable and conditionable events.




You know that City RP mod, well, it would display your cash at the bottom, and events would do the rest.

Shop:

OnActivate>Player>TakeMoney>100
VariableTrue>Player>AddItem>Sword

Quest: (My main focus)

OnActivate>Client>CenterPrint>Bring me wood!
OnActivate>Self>IfItemInSlot>Wood
VariableTrue>Player>GiveMoney>100
VariableTrue>Player>RemoveItem>Wood
VariableTrue>Client>CenterPrint>Thanks!



In my <Secret Project Here>, I just use keys as currency that you turn in for items. This is simple, and good.

TakeMoney would be a true variable IF someone had and gave the money.

Cant you just use variable events to do this and then constantly use display variable?

Cant you just use variable events to do this and then constantly use display variable?


That would be a intensive way to do it, impossible because of the number of quests and events going on in the server. say you start with 20. The first says GiveMoney>20. Now it says 40. One event.

cant you do add variable>-(price)


why not have the money event be gold, then have an event be...
Code: [Select]
onactivate>self>firerelay
onrelay>self>ifvariable[brick][randomvariable][doesnotequal][somerandomnumber like 54342349235823]
onvariabletrue>client>displayvariable[client][gold]
onrelay>self>firerelay

and it will update how much money it has, and have the message be there for any ammount of time

Offtopic:we need a remove item event now


why not have the money event be gold, then have an event be...
Code: [Select]
onactivate>self>firerelay
onrelay>self>ifvariable[brick][randomvariable][doesnotequal][somerandomnumber like 54342349235823]
onvariabletrue>client>displayvariable[client][gold]
onrelay>self>firerelay

and it will update how much money it has, and have the message be there for any ammount of time


Yes, this was what I was thinking. This may cause slight lag, and 12 people doing this, it would get skippy.

Or have a special playertype that replaces light by showing all client and player variables. Or another GUI.


Topic flew up so fast it hit the moon... bump.

all they need is an event like this:

 [on player press key]  [           client          ]  [ Display variable ][money]
 [             M               ]