| 08-07-2003, 04:51 PM | #1 |
My friend and I want to use it for an ultimate in our new map, but we aren't sure if its possible....thanks! |
| 08-07-2003, 05:19 PM | #2 |
Yep, just create a spell based off of channel (make it use point target). Then create a unit that has the normal entangling roots (or modified), name it EntangleCaster for now. Third, Create a triiger than when a unit is issued an order targeting a point just pick every unit in (point to size to region). Here I'll just show you: Code:
Events:
- A unit is issued an order targeting a point
Conditions:
- (Issued Order) == Order("channel")
Actions:
- Pick every unit in Region((TargetPoint), WIDTH,HEIGHT) and do (Actions)
- Create 1 EntangleCaster at (TargetPoint).
- Hide (Last Created Unit)
- Order (Last Created Unit) to Entangle (Picked Unit)
- Wait 2.0 game-time seconds
- Pick Every Unit owned by OwnerOf(OrderedUnit) of Type EntangleCaster and do (Actions)
- Remove (Picked Unit) from the game |
| 08-07-2003, 05:40 PM | #3 |
marsara I am reviewing your trigger to help me to learn triggers more so far your trigger is saying that once the channel is started create a huge entangle type thingy on target point, but I dont understand the stuff where you have to hide last created unit etc.... what I think it is, is that entangle caster is considered a unit? and this entanglecaster unit will trigger entangling roots on any unit in the targetpoint? can you explain that to me thanks |
| 08-07-2003, 05:56 PM | #4 |
MarSara's trigger would work well for that. The hiding of the units is to make sure that the unit that acutally casts the spell is not seen, which would ruin the effect. You could also give those units permanent invisibility and a scaling value of .1 with no shadow to make them even harder to see. The caster that is created will entangle a unit and then go away. |
| 08-07-2003, 05:58 PM | #5 |
I think there is a flaw in the above trigger, though: If the target spot of the spell is outside the casting range of the ordered unit, the trigger would fire before the spell is actually cast. |
