• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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