HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

how would i trigger this?

08-30-2002, 02:15 PM#1
WarlordAlpha
ok lets say i make a custom unit in the map... (i'll use Shandris for example cause shes unique but not a hero) ok as stated the unit is unique but not a hero. how would i trigger it so if that particular unit is alive at the end of the map its carried over into the next map... like a hero kinda... i would assume it can be done.. right? out of all the posts no one has seemed to ask this question ;-p so anyone got any ideas?
08-30-2002, 02:39 PM#2
Guest
You need to create a game cache and save a boolean value in the cache. True if she lives, False if she dies. Then link to the next map have that map check the boolean and create the unit anew if she lived.
I can't tell you more specificly how to do this since I have never actually linked a map or used a cache, but I know that in theory this is how it works.
08-30-2002, 03:50 PM#3
WarlordAlpha
yeah sounds about right... didnt work last night and will try again when i get home... if anyone else has any ideas please share :-)
08-31-2002, 03:56 AM#4
Guest
...to manully enter the varible. For ex.

Map 01
Save Unit [unit001]

Map 02
Load Unit [unit001]
08-31-2002, 04:07 AM#5
WarlordAlpha
hmmm... hehe found a quicker way i think :-)

i just used a
Event - Unit _____ Dies
Action - Turn off Trigger ______

and then i made a trigger just like a hero carry over cept targeted the normal unit

then i set up the next map and pulled it out... and set up a alternate unit to take its place if that special unit dies...

simpler than i thought :-( DOH! here i was trying all these incredibly fancy ways and that way achieved the same purpose...