Creating an item

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
br3akth3w1nd
Member
Posts: 58
Joined: December 8th, 2007, 8:11 pm

Creating an item

Post by br3akth3w1nd »

My idea is to let the players create an item with a name and description given by a player.
Example: If a player types "-item Moonlight Gives the hero +3 to all stats", than it creates an item with name "Moonlight" and description "Gives the hero +3 to all stats" and gives it to a hero selected by the triggering player. Is that possible?
[blinking]Sorry for my english ^_^[/blinking]
User avatar
Risen
Forum Staff
Posts: 811
Joined: January 1st, 2008, 12:58 am

Re: Creating an item

Post by Risen »

Yea, But you'll have a shitload of "if" functions..

A simplified way would be needed.
Image
Wanna learn to hack maps? --> Guide
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Creating an item

Post by Aero »

br3akth3w1nd wrote:My idea is to let the players create an item with a name and description given by a player.
Example: If a player types "-item Moonlight Gives the hero +3 to all stats", than it creates an item with name "Moonlight" and description "Gives the hero +3 to all stats" and gives it to a hero selected by the triggering player. Is that possible?
No.
User avatar
Risen
Forum Staff
Posts: 811
Joined: January 1st, 2008, 12:58 am

Re: Creating an item

Post by Risen »

Oh, Wait nvm, I read it wrong.

Didn't see the part about setting an items description.

Phail.
Image
Wanna learn to hack maps? --> Guide
mrshmlwman
Newcomer
Posts: 24
Joined: April 11th, 2009, 5:51 am
Location: n/a

Re: Creating an item

Post by mrshmlwman »

No

but what you can do with JJCP is find a hero with the item in the top left hand box that you want select him and then type in
"-itemid" (without the quotations)
and it will give you a four letter/number code down the bottom right hand side of the screen
(eg I006), then select your hero and type in "-spawn ####" (#### is the code that itemid gave you) and you have just been given the item that they had in their first slot

this can be VERY useful when used correctly
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Creating an item

Post by Senethior459 »

You're telling us how to spawn an item. He wants to make an item that is named what he says, does what he says, and has the said description.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
mrshmlwman
Newcomer
Posts: 24
Joined: April 11th, 2009, 5:51 am
Location: n/a

Re: Creating an item

Post by mrshmlwman »

i kno i was saying that he cant do wat he asked, so i gave him an alternative