Okay. In a boss fight of mine, I have a Makrura queen who spawns suicidal makrura. The newly-spawned Makrura are to explode (Kaboom! ability) at the former position of a random player's unit, forcing you to keep moving. This is the trigger I use:
For some reason, instead of kabooming the point that I was at when the variable was set, it chases me, as if it was ordered to kaboom my unit. Does anyone know what is wrong here? I've never worked with Point variables before (with the exception of sliding in mazes).
Code:
QueenSmartSpawns
Events
Conditions
Actions
Unit - Create 1 Suicidal Makrura for Player 12 (Brown) at (Position of Makrura Queen 0041 <gen>) facing Default building facing degrees
Set BossIntruder = (Position of (Random unit from (Units in BossTrig2 <gen> matching ((Unit-type of (Matching unit)) Equal to Man of Semi-Awesomeness))))
Wait 0.01 seconds
Unit - Order (Random unit from (Units of type Suicidal Makrura)) to Neutral - Kaboom! BossIntruder
Custom script: call RemoveLocation(udg_BossIntruder)
Wait 2.50 seconds
Trigger - Run (This trigger) (ignoring conditions)
For some reason, instead of kabooming the point that I was at when the variable was set, it chases me, as if it was ordered to kaboom my unit. Does anyone know what is wrong here? I've never worked with Point variables before (with the exception of sliding in mazes).