Author Topic: Eventing help (uses VCE events and PromptEvents addons)  (Read 1549 times)

So, I'm working on a project and everything has been going alright so far, up until I started eventing a quest giver.  This quest giver is supposed to, if you do not already have the quest, give a prompt to accept the quest or not.  This is what I have so far:

onBotActivated > Client > VCE_ifVariable > <var:client:GSQ> = 1
ifVariableFalse > Client > ChatMessage > (basic explanation in chat)
ifVariableFalse > Self > promptClient > Yes/No "Accept this quest?"
onPromptAccept > Client > VCE_modVariable <var:client:GSQ> Set 1
onPromptAccept > Client > Chat Message > "Thank you"
onPromptDecline > Client > Chat Message > "Another time then"


Basically, anything that starts with onPromptAccept and onPromptDecline simply doesn't work.  I have tried both using Self under the target and a specific brick, but I am not sure what to do.  There is no option under target Client to give the prompt.  It's stumped me for the past 2 hours, and I've no idea how to get around it.  What should I do in this case?

I'm not sure if this will help atall, but try chaning <var:client:GSQ> to just GSQ since you're already in the client domain.

I'm not sure if this will help atall, but try chaning <var:client:GSQ> to just GSQ since you're already in the client domain.
Yeah this.

If you're using <var:blah:blah> it goes in the 2nd box, or if the output event is VCE_IfValue. Here it's unneeded.

That doesn't appear to fix anything.  Just tried it out, the prompt doesn't do anything afterwards.  But thanks for the bit of cleanup.

Make sure your ranges are correct.  VCE uses [# #] and prompts use [#-#]

so looks like you would need:
line 0 - [1 2]
line 2 - [3-5]

Make sure your ranges are correct.  VCE uses [# #] and prompts use [#-#]

so looks like you would need:
line 0 - [1 2]
line 2 - [3-5]

Oh, that did just the trick!  Great, everything's working properly now.  They're so similar, I didn't think about using dashes.

Thank you!