The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: l[i(Fury)i]l on February 20, 2006, 06:37:25 PM

Title: Help with this please
Post by: l[i(Fury)i]l on February 20, 2006, 06:37:25 PM
Ok.. I have a common event that when 2 certian items are possesed, then you can use a skill, and when you use that skill a fire animation goes off. When that fire animation goes off i want the fire place tile set in the plains to get the graphic light01 over top of it, I dont want that graphic showing untill i use the skill, and after about a minute i want the light01 graphic to go away again. Is there any way i could do this?

Thanks
Title: Help with this please
Post by: ahref on February 20, 2006, 08:03:05 PM
so you have a i presume "light fire skil"

the way i would do it is by placing a burntout fire on the map as an event then use a conditional branch using the if items posseed then a change graphic or animation or whatever
Title: Help with this please
Post by: l[i(Fury)i]l on February 20, 2006, 09:21:53 PM
i dont get how i would get the animation over the fire like when i put a graphic in the graphic box it always shows up. i dont want the fire to show up untill i use the skill.
Title: Help with this please
Post by: l[i(Fury)i]l on February 20, 2006, 09:40:13 PM
heres what i put down so far for it to appear.

New Event
<>Conditional Branch: [Item] possesed
<>Conditional Branch: [Item] Possesed
 <>Conditional Branch: Hero[hero] [Lite Fire] Usable
   <> Move Event: This Event
                       <>Graphic: '184-Light01' 0,6,0
                        <>Movement Animation On
 <>
  :Else Handler
 <>
  :End
<>
  :Else Handler
 <>
  :End
<>
  :Else Handler
 <>
  :End
Title: Help with this please
Post by: Zeriab on February 20, 2006, 10:14:58 PM
Do you want the player to be able to set more than 1 fire at a time?
Title: Help with this please
Post by: mark on February 21, 2006, 03:20:44 AM
Maybe youre looking for something like this:
On the fire place make a two page event.the first page have no grafic on it.Set it for Action key.Have the conditional branch if light fire usable.Something like this:
Conditional branch[light fire]usable
<>Turn local switch A on
else
<>

On the second page have a precondition local switch A is on.Have the grafic with the fire that you want.This should light up the fire.For it to turn off after a minute use a timer operation.Start the timer at 1 minute.then make another conditional branch
Timer operation below 0mns 0sec
<>Turn local switch A off
Else
<>