HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Please Help

07-25-2004, 01:29 AM#1
Wolf Boy
Well i have this map me and a friend are working on. Well i'm doing a trigger for hero selection. Theres these locked heroes that u have to have special stuff to get. Well theres an area where u teleport to the heroes to select them if your name is either my name or a friends name. well i do the trigger perfectly let me post it.
Code:
 Events-Unit enters select region
Conditions- Unit type of entering unit equal to hero selector
Actions- If (all conditions are true) then do (then actions) else do (else action)
If- Name of owner of entering unit equal to myname or Name of owner of entering unit equal to friendsname
Then- Instantly move entering unit to selectregion2
        wait 0.05 seconds
        create special effect on entering unit's foot using spell blink (not actually path but who cares)
       wait 1 second
         destroy last created special effect
else- do nothing
----------------------
Display text message to all players saying: Sorry you are not authorized to use this door. Please select another hero 
I have my name as i have it in the trigger but it wont let me through. Can someone help me?
07-25-2004, 02:31 AM#2
Shimrra
I'm not sure I understand... You said "well i do the trigger perfectly"... If the trigger is done perfectly, what do you need help with?
07-25-2004, 02:35 AM#3
NueRoN-X
Quote:
I have my name as i have it in the trigger but it wont let me through. Can someone help me?

you must have missed that part =)

and sorry cant help you with this one , too complex for me..
07-25-2004, 02:43 AM#4
horusrogue
Events-Unit enters select region
Conditions- Unit type of entering unit equal to hero selector
Actions- If (all conditions are true) then do (then actions) else do (else action)
If- Name of owner of entering unit equal to myname or Name of owner of entering unit equal to friendsname
Then- Instantly move entering unit to selectregion2
wait 0.05 seconds
create special effect on entering unit's foot using spell blink (not actually path but who cares)
wait 1 second
destroy last created special effect
else- do nothing
----------------------
Display text message to all players saying: Sorry you are not authorized to use this door. Please select another hero

The text is displayed as a result of what? Shouldn't it be...under the else (action) part?
I am proabably raving mad, so yes...
07-25-2004, 03:02 AM#5
Wolf Boy
Its supposed to be there for if the if condition is not met.
07-25-2004, 03:41 AM#6
Shimrra
Quote:
Originally Posted by horusrogue
Name of owner of entering unit equal to myname or Name of owner of entering unit equal to friendsname

I missed the part on the bottom, but horusrogue has the right trigger. You can put whatever you want into the then\else parts to suit your needs, but the condition should work.
07-25-2004, 01:29 PM#7
Wolf Boy
He just posted my trigger and i have the condition like that but it doesnt work can anyone help me
07-25-2004, 02:27 PM#8
th15
you might try using "Matching unit" instead of entering unit. Its just possible it may be that.
07-25-2004, 02:55 PM#9
Crimsongg137
your doing it all wrong.. instead of your name try to use player. like picked player.. owner of (picked unit) or entering unit will work..
if thats not what you want plz post the trigger that u have already
07-25-2004, 03:33 PM#10
Wolf Boy
Its meant to have it name because we want it accesable to only me and my friend.
Can anyone help me PLEASE. i'm stumped on this :(
07-26-2004, 01:33 AM#11
horusrogue
Can you repost the trigger in its current state? (i'll relook over it...)
07-26-2004, 02:34 AM#12
Wolf Boy
I fixed it it was the if then else that was screwing it up i got rid of the if then else then replaced it with just a regular condition and action trigger
07-26-2004, 03:36 AM#13
Crimsongg137
o i was gonna say use a password.. but idono gl on ur map though i just started on an mrpg.. real life based medevail game
i think its gonan be sick