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

Help!!

Status
Not open for further replies.
Level 3
Joined
Oct 29, 2011
Messages
43
can i know the item ids using the world editor? or i am the one that'll create it?

can i create a trigger that when i type the item id, it will spawn right in front of my hero?

thanks :)
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
You don't need an item ID in order to spawn an item on the position of your hero, you can use the trigger editor in order to create GUI triggers that can spawn the item for you.

  • -------- TempLoc is a point variable --------
  • Set - TempLoc = (Position of (Your_Hero_Variable))
  • Item - Create Tome of Experience at TempLoc
  • -------- This custom script removes a location leak --------
  • Custom script: call RemoveLocation(udg_TempLoc)
To learn more about leaks take refference here:
http://www.hiveworkshop.com/forums/...quick-tutorial-common-triggering-tips-190802/

If you really want the "ID" (raw code) of the item you can press control + d inside the object editor. Then you can use Jass script in order to spawn it.
But I guess since you're a beginner that GUI would be easier. Unless ofcourse you have programming experience and want to dive into the scripts :)

Don't get offended, I simply anticipated your experience by the statement of your question.
So if I am correct then this might be usefull to you:
Trigger (GUI) Editor Tutorials

EDIT: I guess I missread your post.
You want to create a trigger that gives you the ability to spawn any item as long as you type it's ID in the chat such as:
-texp
(which is the raw code for tome of experience)
Is that correct?
 
Level 3
Joined
Oct 29, 2011
Messages
43
Thankyou very much sir :)

how to know the item id after pressing ctrl+D?
 
Last edited by a moderator:
Status
Not open for further replies.
Top