![]() | |
| | #1 |
![]() Join Date: May 2008
Posts: 10
![]() | How to simply trigger a unit Hello gusy =) This is my first post here <(^_^)>. My problem is, that i suck at triggering. I wan't to bind triggers for a specific unit. I go to Unit - Specific Unit Event -> ''Unit dies'' and want to change ''Unit''. Then it says ''Select a unit'' and i select my unit. The problem here is, that the unit i select, changes ''Unit'' with for example ''Rhasta 0026 <gen>''. And i dont want it to be for this unit only. How do i bind it to a unit, so it's generally that unit classification that will activate the trigger? (pretty newb question, i know ) |
| | |
| | #2 |
![]() Join Date: Sep 2006 Location: Seven blocks down from your drug dealer
Posts: 2,672
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: How to simply trigger a unit Look for unit type. |
| | |
| | #3 |
![]() Join Date: May 2008
Posts: 10
![]() | Re: How to simply trigger a unit What the **** do you mean? |
| | |
| | #4 |
![]() Join Date: Sep 2006 Location: Seven blocks down from your drug dealer
Posts: 2,672
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: How to simply trigger a unit Code: Untitled Trigger 001
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Footman
Actions
Unit - Replace (Dying unit) with a Footman using The new unit's default life and mana Unit dies, the unit TYPE is a footmen, replace dead unit with UNIT TYPE footmen (its automatically a unit type though) with 100% life/mana You really need ot be more descriptive of what you want done. |
| | |
| | #5 |
![]() Join Date: May 2008
Posts: 10
![]() | Re: How to simply trigger a unit oh.. okay, but it's quite complicated. this trigger editor rly pisses me off ![]() It's because i've created a hero and now i want to give him an ability. The ability: (lvl 1) after killing 8 units he goes rampage and gives +30% damage, which lasts 10 seconds. The effect of killing the 8 units disappers, if he hasn't killed a unit in 15 seconds. I suck so bad at it. I can't even find a trigger that says ''Unit kills another unit'' ?? :s but ty for your help |
| | |
| | #6 |
![]() Join Date: Sep 2006 Location: Seven blocks down from your drug dealer
Posts: 2,672
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: How to simply trigger a unit For unit kills another unit.. Event - Unit dies Then you can work with specifying the Dying and Killing units in events or change an integer (then you could run a check to add the skill if that integer is equal to 8.. if you do get that far, dont forget to reset the integer to 0 after it hits 8, assuming you want that done) I can't think of how to do the rampage thing off the top of my head (not % dmg at least, dont know a skill that uses %'s) But if you wanted to do bonus damage, you could base the rampage skill off of bash, then set stun chance to 0. Don't give up, its all about trial and error. |
| | |
| | #7 |
![]() Join Date: May 2008
Posts: 10
![]() | Re: How to simply trigger a unit Ahh now i have really spent long time trying :/ i think it's a way too complicated trigger to work with, as a complete newbie. Didn't understand the integer thing either :s - Can't you make it and copy+paste it, just with random values? and use command aura or something for %+ dmg ^^ |
| | |
| | #8 |
![]() Join Date: May 2008
Posts: 10
![]() | Re: How to simply trigger a unit - i'm stuck at: Events: Unit - A unit dies Conditions: ((Killing Unit) is A Hero) Equel to ((Killing unit) has buff Rampage) Actions: - @_@ |
| | |
| | #9 |
![]() Join Date: Sep 2006 Location: Seven blocks down from your drug dealer
Posts: 2,672
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: How to simply trigger a unit For conditions.. just using (killing unit) has buff (rampage).. assuming that only heros will have this buff.. |
| | |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unit editor basic guide | Halakbalakbalak | Submit a Tutorial [World Editor] | 1 | 10-19-2007 02:18 PM |
| Respawning + Hero Selection on Circle | DarkBlade | Tutorials | 4 | 09-07-2007 07:56 PM |
| Trigger error | MoonRazer | World Editor Help | 2 | 07-18-2007 12:45 PM |
| A Simple Footmen Spawn | MrOrange | Tutorials | 9 | 07-14-2007 10:51 AM |
| Cinematics! | CaptainSnake | World Editor Help | 17 | 05-18-2007 11:39 AM |