I allready posted this code in my previous thread but here I am again
Code: Select all
Class Randomname : Doomimp{
Default{
//$Category Monsters
Speed 11;
+PUSHABLE
}
States{
Spawn:
TNT1 A 1{
A_PrintBold("this should appear if the code works"); //It doesn't appear anywhere
if (args[0] == 0){
A_Jump(256, "Stand");
}else{
A_Jump(256, "Walk");
}
}
Walk:
TNT1 A 0 A_Look();
TROO AABBCCDD 3 A_Wander();
Loop;
Stand:
TROO AB 1 A_Look();
Loop;
}
}