darkreapers
New Member
- Reaction score
- 6
OK the first problem is fixed but there is also a 2nd problem!!!
the new combined tower would spawn, however the two old towers wouldnt get destoried, does it matter if the other 2 tower have invurnable on them? it shouldnt right? since its explode unit, anyone can help??
The error is with the destory location line :banghead:
the new combined tower would spawn, however the two old towers wouldnt get destoried, does it matter if the other 2 tower have invurnable on them? it shouldnt right? since its explode unit, anyone can help??
Trigger:
- events
- unit - a unit finishes a research
- conditions
- (researched tech-type) Equals to Dark Light
- actions
- set tempgroup = (units owned by (owner of (researching unit)) matching (((unit-type of (matching unit)) equals to Darkness tower level 3) and ((unit - type of (matching unit)) equals to Light Tower level 5)))
- set tempPoint = (position of (researching unit))
- player group - pick every player in (all players) and do (actions)
- loop - Actions
- Unit - Explode (picked unit)
- unit - Create 1 Dark Light for (Owner of (researching unit)) at tempPoint facing Defualt building facing degrees
- custom script: call DestroyGroup (udg_tempgroup)
- custom script: call RemoveLocation(udg_tempPoint)
The error is with the destory location line :banghead: