not exactly wrong... just a code for a item which doesn't exist...
so if you're tryin to get the item you like to and try sum codes
and there is sum code that doesn't exist the game crashes -.-
but i'm not 100% sure bout this!
multicheat jass trigger pack
Moderator: Cheaters
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
Item cheats are custom and map specific
If you want a specific item to drop you need to use the following:
call CreateItem('xxxx',x,y)
Replace 'xxxx' with the ItemType Id
If an invalid item type if used the game crashes
For Dekar's -additem function, it only can "random" items that DO NOT have a custom ItemType Id (Can only random previously existing edited wc3 items not custom ones)
If you want a specific item to drop you need to use the following:
call CreateItem('xxxx',x,y)
Replace 'xxxx' with the ItemType Id
If an invalid item type if used the game crashes
For Dekar's -additem function, it only can "random" items that DO NOT have a custom ItemType Id (Can only random previously existing edited wc3 items not custom ones)
-
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA
Its quite easy to random items that are custom.Aero wrote:Item cheats are custom and map specific
If you want a specific item to drop you need to use the following:
call CreateItem('xxxx',x,y)
Replace 'xxxx' with the ItemType Id
If an invalid item type if used the game crashes
For Dekar's -additem function, it only can "random" items that DO NOT have a custom ItemType Id (Can only random previously existing edited wc3 items not custom ones)
Check this.
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Entered chat string) Equal to -additem) or ((Entered chat string) Equal to -add item)
Then - Actions
Unit Group - Pick every unit in (Units owned by (Triggering player) matching (((Unit-type of (Matching unit)) is A Hero) Equal to True)) and do (Hero - Create (Random level (Random integer number between 1 and 10) Any Class item-type) and give it to (Picked unit))
Else - Actions
That will get any item in the game =]
-
- Senior Member
- Posts: 132
- Joined: February 20th, 2007, 8:40 pm
- Title: Random Noob
- Location: Canada!!!
Instead of using the random integer thing, why not just put -1 in the field? If that box is -1 it will do any level.Check this.
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Entered chat string) Equal to -additem) or ((Entered chat string) Equal to -add item)
Then - Actions
Unit Group - Pick every unit in (Units owned by (Triggering player) matching (((Unit-type of (Matching unit)) is A Hero) Equal to True)) and do (Hero - Create (Random level (Random integer number between 1 and 10) Any Class item-type) and give it to (Picked unit))
Else - Actions
If you knew a woman who was pregnant, who had 8 kids already,
three who were deaf, two who were blind, one mentally retarded, and she had syphilis; would you recommend that she have an abortion?
Answer:
three who were deaf, two who were blind, one mentally retarded, and she had syphilis; would you recommend that she have an abortion?
Answer:
Spoiler:
-
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA
lol, genius.trb92 wrote:Instead of using the random integer thing, why not just put -1 in the field? If that box is -1 it will do any level.Check this.
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Entered chat string) Equal to -additem) or ((Entered chat string) Equal to -add item)
Then - Actions
Unit Group - Pick every unit in (Units owned by (Triggering player) matching (((Unit-type of (Matching unit)) is A Hero) Equal to True)) and do (Hero - Create (Random level (Random integer number between 1 and 10) Any Class item-type) and give it to (Picked unit))
Else - Actions
-
- Senior Member
- Posts: 132
- Joined: February 20th, 2007, 8:40 pm
- Title: Random Noob
- Location: Canada!!!
If you want to call it genius, go ahead. However, i call it "Reading".
Worldeditor wrote:Use -1 for any level.
If you knew a woman who was pregnant, who had 8 kids already,
three who were deaf, two who were blind, one mentally retarded, and she had syphilis; would you recommend that she have an abortion?
Answer:
three who were deaf, two who were blind, one mentally retarded, and she had syphilis; would you recommend that she have an abortion?
Answer:
Spoiler:
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
-
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA
Well, this is kind of silly to have to post proof, but ok, I had my additem command as follows:
http://img177.imageshack.us/img177/6295/proof3ff9.jpg
And, I made a custom item named Xantan as follows:
http://img174.imageshack.us/img174/4064/proof2qx0.jpg
And, typing -additem ingame I got Xantan over time:
http://img177.imageshack.us/img177/2024/proof1wq3.jpg
=/
http://img177.imageshack.us/img177/6295/proof3ff9.jpg
And, I made a custom item named Xantan as follows:
http://img174.imageshack.us/img174/4064/proof2qx0.jpg
And, typing -additem ingame I got Xantan over time:
http://img177.imageshack.us/img177/2024/proof1wq3.jpg
=/
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada