I'm attempting to check via ACS's ScriptCall function, which calls InStateSequence, to check if an actor is in a state sequence (such as 'Missile') in order to trigger certain events (like floors lowering/raising etc).
After an actor is found via ActorIterator I call (roughly)
Code: Select all
mo.InStateSequence(mo.curState, mo.FindState(x))
Test example I tried with GZDoom 3.0.1 and GZDoom g3.0pre-225-gd633e8a
Code: Select all
version "2.5"
Class T : Actor
{
void bleh()
{
string st = "konac";
statelabel statlab = statelabel(st); //I get "Call to unknown function 'StateLabel'"
}
}