Author Topic: VCE Buying A Baricade  (Read 1157 times)

Will someone please help make these events work? Because I can't see why they are not working.

Use retrocheck -> iflastplayermessage instead of ifVariable in event two. I'm not sure if you can use the <var:> prefix in the ifVariable event.

also, you used <var:client:chatmsg> instead of <var:client:lastmsg>

Use retrocheck -> iflastplayermessage instead of ifVariable in event two. I'm not sure if you can use the <var:> prefix in the ifVariable event.
I never learned retro check events before. Please explain.

I never learned retro check events before. Please explain.
There should be a RetroCheck event. After you select that, there should be a second drop down menu. Click on it, and choose the one that says something along the lines of ifPlayerLastMessage. e.g.
onActivate-->RetroCheck-->ifPlayerLastMessage = [blah, wahtever] [1,3]

Will someone please help make these events work? Because I can't see why they are not working.
Oh, hey jes, it's me pac.
First off, you would want to use this.
onChatMessage > self > vce_RetroCheck > ifLastPlayerMessage == [buy blue barricade] [1,3]
Then what you would do is call a onVariableTrue event.
onVariableTrue > Self > VCE_ifValue > <var:cl:money> == 2
onVariableTrue > NamedBrick > setColliding > [check]
onVariableTrue > NamedBrick > setColor > [color other than invisible]
The barricade should first be set to the invisible color.

Oh, hey jes, it's me pac.
First off, you would want to use this.
onChatMessage > self > vce_RetroCheck > ifLastPlayerMessage == [buy blue barricade] [1,3]
Then what you would do is call a onVariableTrue event.
onVariableTrue > Self > VCE_ifValue > <var:cl:money> == 2
onVariableTrue > NamedBrick > setColliding > [check]
onVariableTrue > NamedBrick > setColor > [color other than invisible]
The barricade should first be set to the invisible color.
also there's the onVariableFalse > Client> Chat Message > [<color:FFFFFF> You don't have enough money to buy a barricade. Cost: $2.00 or 2 pents or whatever]

There is a problem, if I type "buy blue barricade" in the chat it does not check the players score and just deducts the points from the player and makes the barricade.

I'm not 100% certain you can use commas to designate areas. I believe it's a range. "1 5" would check all events from 1 - 5 inclusive.

Also, check out some of these.

Orthone, you need to remake the event topic.

on-topic: I think the >= is wrong, it might be ==

on-topic: I think the >= is wrong, it might be ==
No because then it would only accept it if the players score is exactly two.

I'm not 100% certain you can use commas to designate areas. I believe it's a range. "1 5" would check all events from 1 - 5 inclusive.

Also, check out some of these.
Orthone you made genius!
Sadly that does not help my problem.

Oops I mean't to put "Orthone you mad genius!"
Topic locked because Orthone solved it.