Poll

do you know this event

no
1 (50%)
yes
1 (50%)

Total Members Voted: 2

Author Topic: event shop help  (Read 644 times)

« Last Edit: April 01, 2010, 11:29:55 AM by blockland101 »



Tell me if i am wrong:
Code: [Select]
onbotdeath>client>addVariable>money 1That gives you money, you put this on the zombie/AI spawn (You need bot events for this)
For the shop: (Requires: VCE, Prompt Events, Add Item event)
Code: [Select]
onActivate>client>prompt>yes/no>Do you want to buy blah blah blah?
onPromptDecline>client>centerPrint>[Then get out!]
onPromptAccept>client>ifModVariable>money [Client] 10
onvariabletrue>player>addItem>blahblahblah
onvariabletrue>client>centerPrint>[You just got "Blah blah blah"]
onvariablefalse>client>centerPrint>[You need 10$ to get "Blah blah blah"]
Tell me if i got something wrong. or if you dont want prompt events:
Code: [Select]
onActivate>client>IfModVariable>money [Client] 10
onvariabletrue>player>addItem>blahblahblah
onvariabletrue>client>centerPrint>[You just got "Blah blah blah"]
onvariablefalse>client>centerPrint>[You need 10$ to get "Blah blah blah"]
You put 1 of those on a brick that sells.
What the result would be:
Quote from: Yeah...
Light and Day zapped Bot with a LightandDay Zapper
I walk to the store
i see a brick with [?] on it,
(put events on [?]: onactivate>client>centerPrint>[!] will give you a "Blah blah blah")
Quote from: story continue
I click the [?] brick, my screen says: [!] will give you a "Blah blah blah
>I click [!]
>a window pops up: Do you want to buy a "blah blah blah"? with yes and no botton on it
>i click no
>my screen says: Then get out!
>i click [!]
>I click yes
>It gives me a blah blah blah
>if i didn't have a 10 money
>my screen would say: Sorry, you need 10$ for "Blah blah blah"
Now lock it pop it due>a<break

-Snip-
i tryed but i couldnt find alot of those events(i downloaded them)i count make the shop or the cash in fact i could not even find
Code: [Select]
onbotdeath-client-add variable-money 1is there even money in bot events
can you send me a shop item you built and evented so i can look as the events
« Last Edit: April 01, 2010, 11:42:38 AM by blockland101 »

can you send me a shop item you built and evented so i can look as the events
Might as well.