CuteCumber
Member
- Reaction score
- 4
What does the spell do?? Well actually is just planting a tree at a targeted point. The problem is, After casting about 4 to 5 times and above, the game lags. Please help me. Thank you.
*Forestation is a unit created for the special effect. (Item inteliigence gain with 2x scaling value and 0 255 0 RGB value)
Trigger:
- Forestation
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to (==) Forestation
- Actions
- Set FPoint = (Target point of ability being cast)
- Unit - Create 1 Forestation for (Owner of (Triggering unit)) at FPoint facing Default building facing (270.0) degrees
- Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
- Destructible - Create a Ashenvale Tree Wall at FPoint facing (Random angle) with scale 1.00 and variation 1
- Custom script: call RemoveLocation(udg_FPoint)
- Events
*Forestation is a unit created for the special effect. (Item inteliigence gain with 2x scaling value and 0 255 0 RGB value)