PoLlama Forums  

Go Back   PoLlama Forums > WarCraft > World Editor Help

Reply
 
LinkBack Thread Tools
Old 05-28-2008   #1
 
Join Date: May 2008
Posts: 10
Sildokaj is an unknown quantity at this point
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)
Sildokaj is offline   Reply With Quote
Old 05-28-2008   #2
 
Titan's Avatar
 
Join Date: Sep 2006
Location: Seven blocks down from your drug dealer
Posts: 2,672
Titan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond repute
Re: How to simply trigger a unit

Look for unit type.

[Only registered and activated users can see links. ]




Titan is offline   Reply With Quote
Old 05-28-2008   #3
 
Join Date: May 2008
Posts: 10
Sildokaj is an unknown quantity at this point
Re: How to simply trigger a unit

What the **** do you mean?
Sildokaj is offline   Reply With Quote
Old 05-28-2008   #4
 
Titan's Avatar
 
Join Date: Sep 2006
Location: Seven blocks down from your drug dealer
Posts: 2,672
Titan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond repute
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
that?
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.

[Only registered and activated users can see links. ]




Titan is offline   Reply With Quote
Old 05-29-2008   #5
 
Join Date: May 2008
Posts: 10
Sildokaj is an unknown quantity at this point
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
Sildokaj is offline   Reply With Quote
Old 05-29-2008   #6
 
Titan's Avatar
 
Join Date: Sep 2006
Location: Seven blocks down from your drug dealer
Posts: 2,672
Titan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond repute
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.

[Only registered and activated users can see links. ]




Titan is offline   Reply With Quote
Old 06-02-2008   #7
 
Join Date: May 2008
Posts: 10
Sildokaj is an unknown quantity at this point
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 ^^
Sildokaj is offline   Reply With Quote
Old 06-02-2008   #8
 
Join Date: May 2008
Posts: 10
Sildokaj is an unknown quantity at this point
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: -

@_@
Sildokaj is offline   Reply With Quote
Old 06-02-2008   #9
 
Titan's Avatar
 
Join Date: Sep 2006
Location: Seven blocks down from your drug dealer
Posts: 2,672
Titan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond reputeTitan has a reputation beyond repute
Re: How to simply trigger a unit

For conditions.. just using (killing unit) has buff (rampage).. assuming that only heros will have this buff..

[Only registered and activated users can see links. ]




Titan is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


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


All times are GMT -5. The time now is 09:43 PM.

A friend of Wc3Happy
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165