• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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