| 07-27-2004, 11:41 PM | #1 |
I need help on a couple of triggers first the left,right,up,down,diagonals trigger that works smooth using arrow keys. But I want to be able to select my character to look at spells and items. Can this work for mulitple players in the game? A = attack trigger, also want to add floating text in red of the damage done to it and stunning it for a very short time to know you hit it, I want it to hit doodads and enemy units if possible. One type of attack and thats slashing Choreography triggers such as five units walking in a circle then lining up. |
| 07-27-2004, 11:59 PM | #2 | ||
You kinda fused a few questions together or something there. I'll try to help. I didn't understand Quote:
Or maybe you want to be able to see what spells the unit has before selecting it for like an RPG? You can make a trigger that gives you control of unit when you select it in that case? Quote:
Maybe you should clear up what you need answered. |
| 07-28-2004, 12:18 AM | #3 |
OK, here goes. I REALLY stink at triggering but ill try help you. First u can look under the tutorial section here and find i think 2 tut about using the arrows for movment. and the A attack... i saw this trigger is a map, its like a 2D fighting style. really sweet but the way he did it was when u press up, he attacks. make the unit do an atack animation and orders his to cast shockwave. so its looks really kool. But, i know that u want it by pressing A. u could make a spell that replayses the Attack icon from a reg unit and put the new spell ther with the same icon and text. and order him to do the same thing as the UP arrow. do u get it? if i had to ill try make it for u. here is the 2D map that u might wana c. i hope that its the right map! :> |
| 07-28-2004, 01:35 AM | #4 |
Well I dont know if anyone used the diagonals for the arrow keys, don't know if its possible. OK if you select the unit to look at items/skills then you can move it with the mouse and i dont want that. I want to move the unit with the arrow keys the whole time. You learn skills by finding certain items, not by leveling up. I dont want levels at all really. You dont choose the skills at the beginning. For using skills or items you press the hot keys for the skill/item. For melee attacking you press the A button to attack, you dont have to select a target to attack, you can attack air if you press the A button, now if theres a target enemy unit / destructible in the acquisiton range I want the hero to attack whichever it is facing. The hero has one attack animation. When the hero attacks a enemy successfully it stuns it for a very short time to acknowledge that you hit it, showing the damage in a red floating text above the enemy unit. |
| 07-30-2004, 06:47 AM | #5 |
Heres what I have so far for the arrow keys trigger, but my hero stutters when you hold down the key and I dont know how to do the diagonals SetPlayerhero Events Map initialization Conditions Actions Set playerhero = Arthas (wielding Frostmourne) 0000 <gen> Camera - Lock camera target for Player 1 (Red) to playerhero, offset by (0.00, 0.00) using Default rotation MoveUp Events Player - Player 1 (Red) Presses the Up Arrow key Conditions Actions Set movement = 1 For each key right=2, left=3, down=4 MoveOrder Events Time - Every 1.00 seconds of game time Conditions Actions If (movement Equal to 0) then do (Unit - Order playerhero to Stop) else do (Do nothing) If (movement Equal to 1) then do (Unit - Order playerhero to Move To ((Position of playerhero) offset by (0.00, 100.00))) else do (Do nothing) If (movement Equal to 2) then do (Unit - Order playerhero to Move To ((Position of playerhero) offset by (100.00, 0.00))) else do (Do nothing) If (movement Equal to 3) then do (Unit - Order playerhero to Move To ((Position of playerhero) offset by (-100.00, 0.00))) else do (Do nothing) If (movement Equal to 4) then do (Unit - Order playerhero to Move To ((Position of playerhero) offset by (0.00, -100.00))) else do (Do nothing) If (movement Equal to 5) then do (Unit - Order playerhero to Move To ((Position of playerhero) offset by (50.00, 50.00))) else do (Do nothing) If (movement Equal to 6) then do (Unit - Order playerhero to Move To ((Position of playerhero) offset by (50.00, -50.00))) else do (Do nothing) If (movement Equal to 7) then do (Unit - Order playerhero to Move To ((Position of playerhero) offset by (-50.00, 50.00))) else do (Do nothing) If (movement Equal to 8) then do (Unit - Order playerhero to Move To ((Position of playerhero) offset by (-50.00, -50.00))) else do (Do nothing) |
