HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

help me pls>.<

12-01-2003, 11:30 PM#1
huan1988
how to use trigger to make a hero change to another hero when at 10lv?
me do the trigger,the hero1 change to hero2 when 10lv,but the hero2 when 10lv will change to hero2 agian>.<,i use turn off trigger also canot>.<wat can i do it?pls help me
12-01-2003, 11:40 PM#2
Arohk
what is the trigger you use?
12-02-2003, 02:04 AM#3
huan1988
Events
-Unit-A unnit owned by by Player(Red)Gains a level
-Unit-A unnit owned by by Player(Blue)Gains a level
-Unit-A unnit owned by by Player(Teal)Gains a level
-Unit-A unnit owned by by Player(Pink)Gains a level
-Unit-A unnit owned by by Player(Gray)Gains a level
-Unit-A unnit owned by by Player(Brown)Gains a level
-Conditions
-(Hero level of (triggering unnit)) Egual to 10
-Action
-Set NewHeroPlayer=(owner of (tringgering unit))
-Set NewheroPoint =(Position of (Tringgering Unit))
-Set NewHeroFacing=(Facing of (Tringgering Unit))
-For each(integer A)from 1 to 6 ,do(Set SavedItems((inthegerA))=(item-type of(item carried by (triggering unit) in slot (integer A))))
-If ((Unit-type of (Triggering unit))Equal to Warden)then do (set Herochange=Demon)else do (Do nothing)
-----Remove the old hero and instantly switch in new one-------
-Unit-remove (Triggering unit) from the game
-Unit-Create 1 Herochange for NewheroPoint facing NewHeroFacing degrees
-For each(integer A)from 1 to 6,do (if(SavedItems((interger A)) Not equan to (Item-type of No item))then do (hero-create Saveditem((integer A))and give it to (last created unnit))else do(do nothing)
-Hero-Make NewHeroPlayer Heroes gain 60% experience from future Kills
-Hero-Modify unspent skill points of (last created unit): Add 2 Points
-Wait 30.00 seconds
-Set HeroLevel((Player number of (triggering player))=1
-Turn off this tringger
This Tringger....
12-02-2003, 08:20 AM#4
HEZZA
There will be a derect answer, but we need to see them variables and whatu put them as too.


But i can see right there ur not being specific enough, try replacing triggering unti with something like leveling unit ...something more accurate is getneraly a simple answer