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!
Okay, I have an issue when checking if the player I set to be controlled by a Computer (via Player Properties) is a Computer player. It just acts like it's not a computer.. What's the problem?
Believe me, a trigger won't help (I would show you it, but I'm away from my PC), I've tested everything with debug messages.
I've used Player Controller Comparison for the condition.
I suggested revealing the trigger because there are certain functions that do not respond to some conditions.
One example is the "Unit is attacked" event.
In the condition, you cannot choose to go for "Unit - Damaged unit " comparison or " Real - Damage recieved " comparison.
It's because they are only meant to respond to "A unit receives damage event" and will not be considered otherwise.
There are many similar things in the editor especially when it comes to players.
In short, it's impossible to zero in on your problem unless you reveal the entire trigger.
Is the map made in JNGP, by any chance?
You will probably fail to understand everything in this trigger of mine.. I've tested every condition as a separate if/then/else check, and only the player controller condition failed..
Edit: Okay, I've found the source of the problem, it was another periodic trigger that was setting the unit group to a different one, instead of setting an other unit group similar to this one (AllBuilders).. The AI is a complicated system, need to build triggers carefully to save time debugging them.. -_-
Yea, but I was looking for the silly problem in that trigger, but it was in another one causing this trigger to fail working.. new points of experience gained
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.