who isn't sick of converting the freaking scripts? this negates the need

This commit is contained in:
DarthArgus
2015-11-24 09:27:45 -06:00
parent 2e64106bc8
commit bbee2d328c
11077 changed files with 2604347 additions and 3425075 deletions
@@ -0,0 +1,53 @@
package script.library;
import script.*;
import script.base_class.*;
import script.combat_engine.*;
import java.util.Arrays;
import java.util.Hashtable;
import java.util.Vector;
import script.base_script;
public class posture extends script.base_script
{
public posture()
{
}
public static boolean isStanding(obj_id object) throws InterruptedException
{
return (getPosture(object) == POSTURE_UPRIGHT);
}
public static void stand(obj_id object) throws InterruptedException
{
if (!isStanding(object))
{
queueCommand(object, (-1465754503), object, "", COMMAND_PRIORITY_FRONT);
}
}
public static boolean isKnockedDown(obj_id object) throws InterruptedException
{
return (getPosture(object) == POSTURE_KNOCKED_DOWN);
}
public static boolean isKneeling(obj_id object) throws InterruptedException
{
return (getPosture(object) == POSTURE_CROUCHED);
}
public static void kneel(obj_id object) throws InterruptedException
{
if (!isKneeling(object))
{
queueCommand(object, (28609318), object, "", COMMAND_PRIORITY_FRONT);
}
}
public static boolean isProne(obj_id object) throws InterruptedException
{
return (getPosture(object) == POSTURE_PRONE);
}
public static void prone(obj_id object) throws InterruptedException
{
if (!isProne(object))
{
queueCommand(object, (-1114832209), object, "", COMMAND_PRIORITY_FRONT);
}
}
}