| 06-19-2003, 04:00 AM | #1 |
Alright, I got my map all worked out, everything is good, evrything is dandy...I just cant find the right triggers....I need a trigger that runs only if hte person presses a button. Like "j", or something. Im not sure if this is hard to do, or easy to do, or just plain not possible. But it'd be nice to know how...Thanks dudes :D |
| 06-19-2003, 04:36 AM | #2 |
an ability with the shirtcut key j. ONLY way. O N L Y. |
| 06-19-2003, 04:43 AM | #3 |
only thing i can think of is, if player presses the esc button use cinematic skipped to do that kinda trigger |
| 06-19-2003, 05:06 AM | #4 |
Create like a fake skill that does nothing and make it have a hotkey with j. Then make it when the spell is cast the jump trigger is initiated. SMASHINATOR FOREVER! |
| 06-19-2003, 05:07 AM | #5 |
Ok, so how do i make a trigger so that if an ability is used with its shortcut key, then a trigger runs? And uhh...How do i change shortcut keys? |
| 06-19-2003, 05:14 AM | #6 |
Well, to make the rigger run when the spell is cast, you need the spell enhancer. I think it is found in the download section. Also, to change hotkeys, you can do it manually or just use a spell editor, Redskulls ( think that is his name) is the best one and easy for people new at editing. The spell you need to choose needs to be one that is automatically cast, such as avatar/starfall/, something that takes no target. That way, when you hit j, the ability is automatically used, and the trigger that makes that unit jump fires. Was just wondering how you made guys jump? |
| 06-19-2003, 06:59 AM | #7 |
E: Unit casts spell (I think) C: Spell = Your spell A: XX |
| 06-20-2003, 06:02 AM | #8 |
There are other ways to do this. Especially if you want to avoid mpq editing. Make the unit that's gonna have the ability be able to train a unit (you might need UMS for this, can't remember). Then set the unit that they make to the hotkey you want. Then create a trigger with the player trains unit event. Use a condition to make sure it's the right unit and to cancel it from building (remember to give the unit virtually no cost). The downside to this is that, if I remember correctly, training a unit stops the constructing unit dead in his tracks, so if you want him to run and jump that won't work. If this is the kinda game where you only control one guy and probably never use the hold position button, you can set up a trigger to detect that order being given (H being pressed) and replace the hold position icon to something more 'jumpy.' |
