I would like to grant the party the ability to walk on otherwise impassable tiles, such as water, when they have a specific item equipped (such as water-walking boots)- it could work using terrain tags.
How difficult might this be?
Water-Walking Script [ACE]
● ARCHIVED · READ-ONLY
-
-
This can be evented really easily. No RegionID or anything is necessary.
Parallel Process event to check Inventory and to change tileset depending on if ItemA is in inventory.
If [itemA] = true
Change to tileset with passable ground and water.
Else
Standard Tileset. -
Wrote this up in 5 mins so it's not a complete system or anything
It uses states and terrain tags. -
Thank you both, for the events and for the script, you guys rock :)
-
Here's a question. If you had other NPCs on the map, would they not also be able to walk on water, if given a random path? How would you manage this?If [itemA] = true
Change to tileset with passable ground and water.
Else
Standard Tileset. -
Hmm. I didn't consider that. This could be rectified with that "Restrict NPC Movement" script. It's plug-n-play and just uses regionIDs. Or, with a parallel process event and regionIDs.Here's a question. If you had other NPCs on the map, would they not also be able to walk on water, if given a random path? How would you manage this?
-
any answer I would give would involve multiple choices and events, but no scripts.