Posted: Sun Dec 05, 2004 3:35 pm
My latest adventures with Loathing have hit a major snag. I can't seem to get TUNI to work right, and I don't know if it's my error or a bug.
My TUNI is to test to see whether a bunch of enemies are dead or not. It has a link to the monster subject group, a comparison (unit count ___= 0), and an Activates On Success action. The problem is that the TUNI always considers the test to be successful, regardless as to whether the men are dead or not. It isn't initially active, it's activated by the "Monster Appear" command at the same time as it activates the command to attack, using another Activates On Success. I have a much older TUNI for checking if the player is dead that is working, but it's active initially, not by a scripting command later.
I don't have time to test further now, and the map is showing another bug (despite the fact that I have very few creatures or objects on the map, it crashes whenever I try and save after adding more). Later I'm going to see if this is happening with ALL types of TUNI, or just the type of command I'm using.
If nothing else, this can be considered a bug report. I'm using the Loathing.beta 1.5 005 I found off the server. It already has the annoying bug of having the "Respawns Via Script" and "Uses Monster Entrance" flags flipped in the monster information dialog. (I -think- it's those two that are flipped...)
But, if this isn't a bug... any help on what I'm doing wrong here? It's kind of hard to make a map without TUNI unit checks working properly...
My TUNI is to test to see whether a bunch of enemies are dead or not. It has a link to the monster subject group, a comparison (unit count ___= 0), and an Activates On Success action. The problem is that the TUNI always considers the test to be successful, regardless as to whether the men are dead or not. It isn't initially active, it's activated by the "Monster Appear" command at the same time as it activates the command to attack, using another Activates On Success. I have a much older TUNI for checking if the player is dead that is working, but it's active initially, not by a scripting command later.
I don't have time to test further now, and the map is showing another bug (despite the fact that I have very few creatures or objects on the map, it crashes whenever I try and save after adding more). Later I'm going to see if this is happening with ALL types of TUNI, or just the type of command I'm using.
If nothing else, this can be considered a bug report. I'm using the Loathing.beta 1.5 005 I found off the server. It already has the annoying bug of having the "Respawns Via Script" and "Uses Monster Entrance" flags flipped in the monster information dialog. (I -think- it's those two that are flipped...)
But, if this isn't a bug... any help on what I'm doing wrong here? It's kind of hard to make a map without TUNI unit checks working properly...