Author Topic: Which event can make it so that items can be purchased from bricks with points?  (Read 927 times)

I was just wondering, as I need said event for a build that I am making.

For example, I would have weapons available for a different, specific amount of minimum points for each weapon, that players could unlock by activating specific bricks, as long as they have the required amount of points.

Anybody have any ideas?  :cookie: to whoever can figure something out.

VCE works well for checking values like this

You could do something like this:

Code: [Select]
# Event Saver v0.1 - 11/04/10 19:08:01
X 0ms onActivate Self promptClient OK/Cancel Purchase Grenade? 1
X 0ms onPromptAccept Self VCE_ifValue <var:cl:score> >= 20
X 0ms onVariableTrue Player addItem Stick Grenade
X 0ms onVariableTrue Client IncScore -20
X 0ms onVariableFalse Self promptClient OK/Cancel You don't have enough money!

Thanks for the help guys! Now I just need to learn VCE :O

VCE is private on RTB, does anybody have a download of it?



You could do something like this:

Code: [Select]
# Event Saver v0.1 - 11/04/10 19:08:01
X 0ms onActivate Self promptClient OK/Cancel Purchase Grenade? 1
X 0ms onPromptAccept Self VCE_ifValue <var:cl:score> >= 20

[/quote]
Hmmm...., onpromptclient didn't show up in my input list, and promptclient didn't show up in the output...?

Code: [Select]
[quote author=AwesomeSauce246 link=topic=244789.msg7027763#msg7027763 date=1383788374]
Hmmm...., onpromptclient didn't show up in my input list, and promptclient didn't show up in the output...?
[/quote]
You need prompt events for those.


Now I just have to wait for RTB to become functional again.

Now I just have to wait for RTB to become functional again.
that'll be awhile