HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

a hero question

07-16-2002, 06:03 PM#1
Guest
Ok im new to the whole thing so if i say something relly stupid then sorry.

I was playing round with the editor last nite and made a simple (real simple) RPG map.

Im at work at the moment so i cant play round with it but what is the "trigger" if i want to remove a lvl 10 hero and replace it with a new lvl 1 hero (of diff kind)

When i was playing with triggers last i remember you can select a unit off your map, but because the unit doesn't get made till after game starts i cant select him off the map.....

So please help me

Again if this is a really stupid question im sorry

Thanks
07-16-2002, 07:37 PM#2
Guest
Ok im home now and trying to make it but its driving me insane!

Heres what i got so far (im trying to make a tank appear when hero reaches lvl 10 instead of a new hero, for now a tank will do)

Event: UNIT=A unit owned by player 1(red) gains a level

Conditions: (hero experience of (leveling hero))grater than 5399*

Action: Wait 0.50 sec
UNIT=Create 1 steamtank for player 1(red) at (position of(triggering unit)) facing (position of (triggering unit))

*max exp is 5400

SO whats wrong with the above cos it wont make a steam tank for me when i reach lvl 10 (using lots of tomb's of greater exp)

Any help on fixing it?
07-16-2002, 07:47 PM#3
Guest
After all that typing i worked it out....
if anyone want's to know the whole trigger post here and i will put it up