transfer item to hero

windale5

New Member
Reaction score
2
I want to make a trigger so when a player types in a certain word/ chat phrase they get a item in their inventory if they have space in their inventory.
 

ryerye1996

Cool Member
Reaction score
5
Trigger:
  • ItemUntitled Trigger 002
    • Events
      • Player - Player 1 (Red) types a chat message containing (YourPhrase) as An exact match
    • Conditions
      • (Number of items carried by (Triggering unit)) Less than or equal to 5
    • Actions
      • Hero - Create (YourItem) and give it to (Triggering unit)
 

windale5

New Member
Reaction score
2
problem maybe

wouldn't this have problems because i have different units instead of just heroes only.
 

ryerye1996

Cool Member
Reaction score
5
no, as long as it has inventory, it doesnt matter if it says: (Hero), as long as it has (Triggering Unit) and the unit has a 6 slot inventory.
 

HydraRancher

Truth begins in lies
Reaction score
197
This trigger wont work, there is no (Triggering Unit). I would suggest picking every unit selected by the player and then checking the item slots
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top