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
Okay I'm kind of having trouble if anyone can explain in more detail please do. Thanks a lot.