I'm having a very odd "bug" in Hexen with this pretty simple script in ACS
Code: Select all
script "Slows_Remove" (void) { //Removes the slow-down factor from the player in about 1.2 seconds
str slows[5] = { "BowSlow1", "BowSlow2", "BowSlow3", "BowSlow4", "BowSlow5" };
Log(s:slows[0]);
for(int bs = 0; bs <= 4; bs++) {
Log(s:slows[bs]);
if(CheckInventory(slows[bs])) {
TakeInventory(slows[bs], 1);
}
Delay(10);
}
}
"Spawn09", "Spawn10" , "FireDemonAttack", "Spawn08", "the door is locked"
Now... WTH????
Of course, this means that the script won't remove any of those powerups.
Can any of you help me here? D: