How can I make a firemaking skill with events?

Hello all.

I would like to be able to press a key in my game that activates firemaking. If you have a tinderbox and wood you will be able to make a fire anywhere in the game(but not inside structures). So how would I go about doing this? I would like to be able to do this using events but if it's not possible I'm open to scripts I suppose..

Thanks!
Lol I get the reference.


A conditional branch for the fire via a common event - if A is pressed (for example), and if 'tinderbox' is in inventory. Put this event on parallel process on outdoor maps.


I'm not sure how the actual fire event would work, but I'm not around the program to check for the possibility of creating an event graphic depending on your X and Y co-ordinates (and direction you're facing), but it is doable. I think you'd have to use regions to ensure people don't make fires in impassable places though.
If you can only light 1 fire per map, then you can have the fire event in every map, just make and event that uses the fire graphics, direction fix unchecked, stepping animation checked and make it require a certain switch. Now every start of the map, set switch to false (using a parallel process event maybe that you erase afterwards), then have another parallel process that checks if the button for firemaking is pressed, if yes, check items, if they are present, move the fire event to front of the player (might need conditional branches to set), and set witch to true
Lol I get the reference.

A conditional branch for the fire via a common event - if A is pressed (for example), and if 'tinderbox' is in inventory. Put this event on parallel process on outdoor maps.

I'm not sure how the actual fire event would work, but I'm not around the program to check for the possibility of creating an event graphic depending on your X and Y co-ordinates (and direction you're facing), but it is doable. I think you'd have to use regions to ensure people don't make fires in impassable places though.

If you can only light 1 fire per map, then you can have the fire event in every map, just make and event that uses the fire graphics, direction fix unchecked, stepping animation checked and make it require a certain switch. Now every start of the map, set switch to false (using a parallel process event maybe that you erase afterwards), then have another parallel process that checks if the button for firemaking is pressed, if yes, check items, if they are present, move the fire event to front of the player (might need conditional branches to set), and set witch to true
Thanks guys! I think I get it. I'm going to go try it out.
Okay I'm kind of having trouble if anyone can explain in more detail please do. Thanks a lot.
Geo Bonsai, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


If your post is the last and you have something to add, just edit the last post.


Please tell us more details where you have problems, and post a screenshot of the common event you have so far - we cannot help you if we don't know what you've done so far...
Geo Bonsai, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.

If your post is the last and you have something to add, just edit the last post.

Please tell us more details where you have problems, and post a screenshot of the common event you have so far - we cannot help you if we don't know what you've done so far...
Sorry about the double post 🙁

I need to know how I can move my event in front of my player. I want to teleport the event in front of my player when he makes a fire. Does that make sense?
I need to know how I can move my event in front of my player. I want to teleport the event in front of my player when he makes a fire. Does that make sense?
yes, and you can do it with the variable commands...
you need two variables, one for X and one for Y.


Set the first variable to the player's X, the second to the player's Y (control variable - game data)


then make conditional branches to check the players facing, and add or substract one from X or Y depending on which direction he's facing.


then set location for the fireplace event based on the two variable's coordinates

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-a-firemaking-skill-with-events.24215/