Author Topic: Item costing not working. HELP!  (Read 382 times)

i earned the amount of points in a zombie mini
and when trid getting a weopon it didnt work
help

if somone answers this im online
NAME:"Mr. AHH HELP!
only 3 players

No, no, no. The points is the GOAL in the minigame. The first person to reach the points amount wins.

but i have this wall of weopons and if you have enough points(score)
you get the wepon you want on the list
unless you dont have enough points


Oh, well that requires scripting.

Oh, well that requires scripting.
No, it just requires eventing

For a simple buy event, download-
(search them on RTB)

-SetInventory OR additem
-Variable Conditional Events
-Prompt Events

Now set this up


OnActivate----------> self----->promptClient---->[Yes/No] [<font:arial:25>Do you want to purchase(name of gun) for (number of points)?] [ 1 ]

OnPrompAccept----> self----->VCE_ifValue----->[<var:cl:score>]  >=  [the number of points needed to purchase or obtain item] [ leave this blank ]

OnVariableTrue----> client--->IncScore--------->[the number you put in here must be either negative if you want to deduct points on buying, or 0]

OnVariableFalse---> client--->CenterPrint------>[<font:arial:21>You do not have the required amount of points][3]

OnVariableTrue----> player->Set Inventory---->any item [slot that item is to be inserted to]