Warcraft III resources & community, 2003–2006 · archived

Need Trigger Help

8 posts
#1

Need Trigger Help

I really dont like asking for help but this one stumped me...heres the problem. On my new version of hero-realm i want to design a trigger so when selecting a hero the hero appears on the screen and by pressing left and right arrows on your keyboard you can switch heros and then by pressing up (or enter) you can select the hero. (similar to the way to select your cart on azeroth grand prix) iv tried using replace unit, and iv tried create unit, and iv even tried moving each unit instantly simultaniously but nothing seems to work. if anyone has ever written a trigger like this and could help me i would be very much appreciative. thank you.
#2
how about moving the camera?
#3
that would work...i have limited map space tho...
#4
It seems like a simple trigger, could you post the trigger(s)?
#5
hm... if selected then u place your heroes in a line and then u make two triggers that move camera to left or right.
#6
Sunny_Dhm... if selected then u place your heroes in a line and then u make two triggers that move camera to left or right.


but moving the camera gives you a new environment, better placing your units :wink:

why not just create a dummy unit and scale it bigger or smaller to suit your camera?
#7
well... ok but if i remember correctly, the map "gladiator survival" has such a cinematic where different heroes are showed. maybe you can use that as a preference?!

you have to customize it (if there is no protection :wink: ) with event 'key pressed' etc...
#8
i think what i might do is have a unit (such as a flag) and make that unit move with the camera attached to it from one unit to the next.

o btw i looked at azeroth grand prix haha the codes didnt help me at all..everythings written in jass..