• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] How to stop players sinking items?

Status
Not open for further replies.
Level 7
Joined
Jul 1, 2008
Messages
1,025
Hi there, I am working on a map similar to Azeroth Wars, players have very important quest items on their heroes, but they can just easily destroy items that have the "drops when carriers dies tag" on them by getting in a boat and sinking said boat.

Is there any way I can stop them sinking items?
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
Boats invulnerable?
OR
When hero gets loaded into the boat remove the item, when they get unloaded out re-add the item.
Use this to detect unloading http://www.hiveworkshop.com/forums/spells-569/unit-event-v2-0-0-0-a-201641/

Edit:
If a unit dies with the item in the water region (specify the rect) destroy the dropped item and create a new one at the original finding place, display a message--- some magical magic took the item back to a loc.
 
Status
Not open for further replies.
Top