is there a way to make is so when you are playing my game and are a certain graphic a bar shows in the corner and while your this graphic it slowly goes down and when it is empty a message appears and you have to pay to get it refilled E.G a Car when your the car graphic when the bars empty a message:
"You are out of Fuel Refill for 60£?"-or- "tow back to garage?"
wrong part of the forum (ur clearly not asking for or submitting a resource)
and try searching in Script and Script Database
Make it use a script tht shows HP/SP bars. Use SP for fuel. Make an event that checks SP, and if the SP value is greater than 0, steadily drains fuel as you move. If it hits 0, display the message and choices.
i know youve just told me what to do but can you tell me how to make each thing so what you just said E.G
"1)make an event"
"2)Blah Blah Blah"
I'll make an example, that should be cool with you, right?
yes thats fine
Say, Joey, what if I used this style for the graphics in your example?
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg242.imageshack.us%2Fimg242%2F2160%2Fcarsetsmallru8.png&hash=5b450f240613418b8448271772e275f563f5d06a)
thats fine or if u like u can get the car from the page 28 topic i posted of the purple covertible
;D
Do this:
Create An Event
Create The Action,"Variable Operation"
Create A New Variable And Name It, "Fuel"
Set it To = 500
Press Okay
Create The Action, "Variable Operation"
Create A New Variable And Name It, "Distance"
Set It To The Number Of Steps
Press Okay
Create The Action, "Conditional Branch"
Set It To Check If The Variable, "Fuel" = 0
Under Met Condition, Create The Action, "Message"
Set The Message To Say, "Your Out Of Fuel!"
Create The Action Show Choice
Set Them To Say, "Fuel Up For 60$, Be Towed Away"
Under Fuel Up Case Handler, Create The Action, "Change Money"
Set It To "Money" - "60"
Create The Action, "Teleport"
Set It To Teleport To The Gas Station
Create The Action, "End Event Processing"
Under Be Towed Away Handler, Create The Action, "Teleport"
Set It To Teleport To The Junk Yard
Create The Action, "End Event Processing"
Under Else Case Handler, Create The Action, "Condition Branch"
Set It To Check If The Variable, "Distance" = "1"
Under Met Condition, Create The Action, "Variable Operation"
Set It To Do The Equation, "Fuel" - "Distance"
Then Create The Action, "Variable Operation"
Set The Variable, "Distance" = "0"
Create The Action, "End Event Processing"
Under Else Case Handler, Create The Action, "End Event Processing"
is there a way to add a guage in the corner of the screen to this set of events
Yes, your going to have to make a graphic bar though, unless you want to use the pre-set SP bar, and change it to fuel.
how would i go about using the bar
I'm not sure how to display the image on the screen, but the rest of the event would be like this:
QuoteCreate A Variable Operation, "Variable Operation"
Set "Fuel Gage" = "Hero SP"
That would be inserted here:
QuoteUnder Else Case Handler, Create The Action, "Condition Branch"
Set It To Check If The Variable, "Distance" = "1"
Under Met Condition, Create The Action, "Variable Operation"
Set It To Do The Equation, "Fuel" - "Distance"
Then Create The Action, "Variable Operation"
Set The Variable, "Distance" = "0"
*Here*
Create The Action, "End Event Processing"
Though to get it to display, you would have to do a call script action, and I don't know all the commands quite yet. So you might have to ask someone else.
ok thank for all your help