• 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.

Remove Item Command

Status
Not open for further replies.
Level 15
Joined
Aug 7, 2013
Messages
1,338
Can some1 post easy item remove command for 1 player?

This (sub-)forum is not for requests. If you have a specific question about how to remove a particular item from a particular hero via some command, then you should ask for help in getting started.

For example, do you want to do the command via a chat string, e.g. "-remove 1" removes the item in the first slot of the player's inventory, or an ability that gets cast on an item?
 
Level 5
Joined
Jun 17, 2014
Messages
103
Could you elaborate?
We usually respond to command events via catching Player - Types a message and after checking the actually string entered, we proceed with actions.

In your case, it's RemoveItem() native that is to be used. However, how do you choose an item which you want to be removed?

TY :)

u can close now this topic i made command alrdy
 
Another note, please do not double post. Use the
edit.gif
button.
 
Status
Not open for further replies.
Top