• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

Need a system

Status
Not open for further replies.
Level 5
Joined
Aug 23, 2008
Messages
124
Hi. Could any1 please create a system that works like this:

Weapons= lvl 1 items
Armors=lvl 2 items
Shields (offhand)=lvl 3 items

So...

A unit is only allowed to have 1 item of lvl 1,2 and 3. If he allready have an item of that level he drops the second picked up item and a message is displayed:

Picks up a weapon (lvl 1): "You allready have a weapon"

Picks up an armor (lvl 2): "You are allready wearing an armor"

Picks up an offhand item (like a torch or a shield) (lvl 3): "You allready have an offhand item"
 
Status
Not open for further replies.
Top