• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

AI

Status
Not open for further replies.
I don't know how you fire your trigger, or what your trigger is supposed to do, but maybe you could create a player variable and when the trigger fires, save the triggering player into the variable and then check it using the if/then/else action.

Something along these lines:
  • Actions
    • Set Temp_player = (Owner of (Triggering unit))
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Temp_player controller) Equal to Computer
      • Then - Actions
        • -------- does actions a Computer would do --------
      • Else - Actions
You will need to tweak this yourself (since I don't know how your trigger fires, etc., so you may not even use "triggering unit"), also this may be full of leaks.

I may be completely off though, so it would be better if someone more experienced checked this.
 
Status
Not open for further replies.
Back
Top