- Joined
- Nov 30, 2007
- Messages
- 1,202
Couldn't find any in the general user interference.
destroy destructible and create a new on that loc.
I dont know caan you replace them
Then I would have to store information about its size and facing angle since there is no such function either. ;/ Oh well.
AAAAAAAAAAAH! Dont understand why this doesnt work..
Place Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Place Human Gate
Actions
For each (Integer A) from 0 to GateCount, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Gate[(Integer A)] Equal to (Target destructible of ability being cast)
Then - Actions
Game - Display to (All players) the text: aaaa!
-------- works --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
GateOwner[(Integer A)] Equal to Player 1 (Red)
Then - Actions
Game - Display to (All players) the text: aaaa!
-------- doesnt work? --------
Else - Actions
Else - Actions
Gate Setup
Actions
-------- Apartment 1 --------
Set GateOwner[GateCount] = Player 1 (Red)
Set Gate[GateCount] = Gate (Elven) 0067 <gen>
Set GatePathing[GateCount] = Gate Blocker 0281 <gen>
Set GateStats[(Integer A)] = 0.00
Set GateStats[(GateCount + 500)] = 0.85
Custom script: set udg_GateCount = udg_GateCount + 1
why dont u use
If - Conditions
Owner of (Triggering Unit) Equal to Player 1 (Red)