Code: Select all
Class GreenChaingunGuy : ChaingunGuy
{
String name = "GPOS";
states
{
Spawn:
"name" AB 10 A_Look
Loop
}
}
Code: Select all
Class GreenChaingunGuy : ChaingunGuy
{
String name = "GPOS";
states
{
Spawn:
TNT1 A 0 { Treat "CPOS" sprite name as if it was name };
//This...
goto Super::Spawn;
//...should be the same as this
SpawnLoop:
GPOS AB 10 A_Look;
goto SpawnLoop;
}
}