Author Topic: Evented shop problems  (Read 631 times)



If you can see the miniscule text, I was trying to make a shop with variable events, but for some reason, when I accept the prompt, it neither does the VariableTrue events nor the VariableFalse events. I suspect I wrote the player score variable incorrectly, but I don't know what I should change it to. Any suggestions?

You forgot to specify which events the ifVariable line executes (the box after the "30").

The fact that prompt events are buggy doesn't help either.

You forgot to specify which events the ifVariable line executes (the box after the "30").
I believe these are only required if you are using multiple If statements.
I think the problem is here, you need to use VCE_ifValue rather than Variable, as you are using a variable replacer.

Okay, I tried changing what Reg said to change, and still didn't get any results.

(Also, in event line 3, I tried both 'Self' and 'Client')

While line 3 was set to 'Self' (Client doesn't have VCE_ifValue), I tried VCE_ifValue as well and still got nothing.

You still forgot event 2.

Actually, I'm talking to Zenloth on the IRC, and he says I need 'ifVariableTrue' and 'ifVariableFalse', which I don't seem to have.

Actually, I'm talking to Zenloth on the IRC, and he says I need 'ifVariableTrue' and 'ifVariableFalse', which I don't seem to have.

I meant OnVariableTrue and OnVariableFalse, talking over IRC and it seems to be ok. Yeah, the variable subsystem (last box on vce_if things) is only needed if you have more than one vce_ifthings.

Well, now it's starting to work, but it won't recognize that I have enough points and now goes to 'OnVariableFalse' automatically.

Check that, it works now. =)

I switched the last line from 'If_Variable' to 'If_Value', and it works fine!

Thanks to both of you for your help. I'm glad that this finally works for me.

VariableTrue and VariableFalse were from the old VCE, you need to use onVariableTrue/onVariableFalse (I don't understand why it needed to change) for the new VCE events.

If you don't have them, try redownloading/updating.

onVariableTrue/onVariableFalse
Oh yea, I just noticed that on his pics. VCE uses onVariableTrue, disable your V4 variable mods and everything and look for onVariableTrue/False.

Oh yea, I just noticed that on his pics. VCE uses onVariableTrue, disable your V4 variable mods and everything and look for onVariableTrue/False.
Read the topic before you post, this has already been suggested, done and the topic finished.