HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

help me!

01-02-2003, 09:40 PM#1
Stormwraith
does anyone no how to make a custom item/ability that works like a Diablo2 Town Portal. i need this for a map im making and id really appreciate any help.

this is the wrong forum but... can anyone explain to me how to give a grunt, a human colored skin.
01-02-2003, 10:13 PM#2
twiztid(lb)
Ok I havnt done any testing on this but its just an idea ive come across and thought maybe if you work with it it could work.

Event : A unit uses an item
Condition : Item is equal to X
Actions :
Unit - Create 1 Way Gate for owner of triggering player at center of region X.
Set Variable X = last created unit
Neutral building - enable Variable X
Neutral building - set destination to position of item being manipulated
Unit - Move triggering unit to center of Region X
Unit - Remove item being manipulated
Trigger - Turn on Trigger X

Have trigger X be the trigger to remove the way gate when the unit enters it. This is just a basic idea sounds like it could work. Reply or send a message if you get it working i would like to know if it works.
01-04-2003, 12:51 AM#3
Stormwraith
thats sounds like it would work. the one problem is that a waygate might be to big. ill check it and we'll find out.
01-04-2003, 02:09 PM#4
Stormwraith
ok the trigger works fine,but i cant find a good way to remove the gate after the hero goes through it. and i cant find an item that can be used, but doesnt have an effect
01-04-2003, 08:10 PM#5
DemonicSoul
i would suggest using boolean comparisons for this (boolean is either yes or no, like the "switches" in starcraft)