• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Engage System issue

Status
Not open for further replies.

Chaosy

Tutorial Reviewer
Level 41
Joined
Jun 9, 2011
Messages
13,239
Simply put, I am using this: AI - Engage System v3.2

  • Demo
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Unit - Create 1 Raider for Player 4 (Purple) at (Center of Region 000 <gen>) facing Default building facing degrees
      • Set U = (Last created unit)
      • Custom script: call EngageSystem.SetEngageUnit(udg_U,true)
      • Custom script: call EngageSystem.SetUnitPickItem(udg_U)
      • Custom script: call EngageSystem.SetUnitRetreat(udg_U)
      • Custom script: call EngageSystem.SetReturnPoints(udg_U, GetUnitX(udg_U),GetUnitY(udg_U))
      • Custom script: call EngageSystem.SetUnitLockTargets(udg_U, 17, 30)
It's not working. The unit is created but just stands there.
Yes, I did copy the dummy ability over and change the id.

edit: it works now, no clue why because I did not change the code.
A mod can remove this thread since it serves 0 purpose.
 
Last edited:
Status
Not open for further replies.
Top