2008-08-10 14:19:47 +00:00
|
|
|
ACTOR Actor native //: Thinker
|
|
|
|
{
|
|
|
|
Scale 1
|
|
|
|
Health 1000
|
|
|
|
Reactiontime 8
|
|
|
|
Radius 20
|
|
|
|
Height 16
|
|
|
|
Mass 100
|
|
|
|
RenderStyle Normal
|
|
|
|
Alpha 1
|
|
|
|
MinMissileChance 200
|
|
|
|
MeleeRange 44
|
|
|
|
MaxDropoffHeight 24
|
|
|
|
MaxStepHeight 24
|
|
|
|
BounceFactor 0.7
|
|
|
|
WallBounceFactor 0.75
|
|
|
|
BounceCount -1
|
|
|
|
FloatSpeed 4
|
2013-05-30 08:52:29 +00:00
|
|
|
FloatBobPhase -1 // randomly initialize by default
|
2008-08-10 14:19:47 +00:00
|
|
|
Gravity 1
|
2009-10-15 21:12:31 +00:00
|
|
|
DamageFactor 1.0
|
2009-06-05 21:44:34 +00:00
|
|
|
PushFactor 0.25
|
2009-12-25 00:19:28 +00:00
|
|
|
WeaveIndexXY 0
|
|
|
|
WeaveIndexZ 16
|
2011-01-22 03:35:33 +00:00
|
|
|
DesignatedTeam 255
|
2011-06-13 17:15:09 +00:00
|
|
|
PainType Normal
|
|
|
|
DeathType Normal
|
2008-08-10 14:19:47 +00:00
|
|
|
|
2008-10-19 21:43:36 +00:00
|
|
|
// Variables for the expression evaluator
|
|
|
|
// NOTE: fixed_t and angle_t are only used here to ensure proper conversion
|
|
|
|
// Internally they are handled as floats.
|
|
|
|
// Variables must be native.
|
|
|
|
native fixed_t alpha;
|
|
|
|
native angle_t angle;
|
|
|
|
native int args[5];
|
|
|
|
native fixed_t ceilingz;
|
|
|
|
native fixed_t floorz;
|
|
|
|
native int health;
|
2011-01-14 22:59:20 +00:00
|
|
|
native int mass;
|
2008-10-19 21:43:36 +00:00
|
|
|
native angle_t pitch;
|
|
|
|
native int special;
|
|
|
|
native int tid;
|
|
|
|
native int TIDtoHate;
|
|
|
|
native int waterlevel;
|
2012-10-28 04:36:52 +00:00
|
|
|
//native int damage;
|
2008-10-19 21:43:36 +00:00
|
|
|
native fixed_t x;
|
|
|
|
native fixed_t y;
|
|
|
|
native fixed_t z;
|
2009-06-30 20:57:51 +00:00
|
|
|
native fixed_t velx;
|
|
|
|
native fixed_t vely;
|
|
|
|
native fixed_t velz;
|
|
|
|
native fixed_t momx; // alias for velx
|
|
|
|
native fixed_t momy; // alias for vely
|
|
|
|
native fixed_t momz; // alias for velz
|
2010-11-08 00:01:21 +00:00
|
|
|
native fixed_t scaleX;
|
|
|
|
native fixed_t scaleY;
|
2009-09-14 19:44:14 +00:00
|
|
|
native int score;
|
2012-03-11 09:08:35 +00:00
|
|
|
native int accuracy;
|
|
|
|
native int stamina;
|
2012-11-09 23:06:40 +00:00
|
|
|
native fixed_t height;
|
|
|
|
native fixed_t radius;
|
2013-04-20 21:32:03 +00:00
|
|
|
native int reactiontime;
|
2013-06-01 02:23:27 +00:00
|
|
|
native fixed_t meleerange;
|
2009-10-25 02:19:51 +00:00
|
|
|
|
2009-09-14 22:12:31 +00:00
|
|
|
// Meh, MBF redundant functions. Only for DeHackEd support.
|
|
|
|
action native A_Turn(float angle = 0);
|
|
|
|
action native A_LineEffect(int boomspecial = 0, int tag = 0);
|
|
|
|
// End of MBF redundant functions.
|
2008-10-19 21:43:36 +00:00
|
|
|
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_MonsterRail();
|
2008-08-12 23:00:48 +00:00
|
|
|
action native A_BFGSpray(class<Actor> spraytype = "BFGExtra", int numrays = 40, int damagecount = 15);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_Pain();
|
|
|
|
action native A_NoBlocking();
|
|
|
|
action native A_XScream();
|
|
|
|
action native A_Look();
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_Chase(state melee = "*", state missile = "none", int flags = 0);
|
2012-04-07 12:48:56 +00:00
|
|
|
action native A_FaceTarget(float max_turn = 0, float max_pitch = 270);
|
|
|
|
action native A_FaceTracer(float max_turn = 0, float max_pitch = 270);
|
|
|
|
action native A_FaceMaster(float max_turn = 0, float max_pitch = 270);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_PosAttack();
|
|
|
|
action native A_Scream();
|
|
|
|
action native A_SPosAttack();
|
|
|
|
action native A_SPosAttackUseAtkSound();
|
|
|
|
action native A_VileChase();
|
|
|
|
action native A_VileStart();
|
2008-12-06 10:22:37 +00:00
|
|
|
action native A_VileTarget(class<Actor> fire = "ArchvileFire");
|
2013-08-09 10:18:58 +00:00
|
|
|
action native A_VileAttack(sound snd = "vile/stop", int initialdmg = 20, int blastdmg = 70, int blastradius = 70, float thrustfac = 1.0, name damagetype = "Fire", int flags = 0);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_StartFire();
|
2008-12-06 10:22:37 +00:00
|
|
|
action native A_Fire(float spawnheight = 0);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_FireCrackle();
|
|
|
|
action native A_Tracer();
|
|
|
|
action native A_SkelWhoosh();
|
|
|
|
action native A_SkelFist();
|
|
|
|
action native A_SkelMissile();
|
|
|
|
action native A_FatRaise();
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_FatAttack1(class<Actor> spawntype = "FatShot");
|
|
|
|
action native A_FatAttack2(class<Actor> spawntype = "FatShot");
|
|
|
|
action native A_FatAttack3(class<Actor> spawntype = "FatShot");
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_BossDeath();
|
|
|
|
action native A_CPosAttack();
|
|
|
|
action native A_CPosRefire();
|
|
|
|
action native A_TroopAttack();
|
|
|
|
action native A_SargAttack();
|
|
|
|
action native A_HeadAttack();
|
|
|
|
action native A_BruisAttack();
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_SkullAttack(float speed = 20);
|
2009-09-14 09:41:09 +00:00
|
|
|
action native A_BetaSkullAttack();
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_Metal();
|
|
|
|
action native A_SpidRefire();
|
|
|
|
action native A_BabyMetal();
|
|
|
|
action native A_BspiAttack();
|
|
|
|
action native A_Hoof();
|
|
|
|
action native A_CyberAttack();
|
2011-06-06 13:23:28 +00:00
|
|
|
action native A_PainAttack(class<Actor> spawntype = "LostSoul", float angle = 0, int flags = 0, int limit = -1);
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_DualPainAttack(class<Actor> spawntype = "LostSoul");
|
|
|
|
action native A_PainDie(class<Actor> spawntype = "LostSoul");
|
2008-12-06 10:22:37 +00:00
|
|
|
action native A_KeenDie(int doortag = 666);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_BrainPain();
|
|
|
|
action native A_BrainScream();
|
|
|
|
action native A_BrainDie();
|
|
|
|
action native A_BrainAwake();
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_BrainSpit(class<Actor> spawntype = "none"); // needs special treatment for default
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_SpawnSound();
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_SpawnFly(class<Actor> spawntype = "none"); // needs special treatment for default
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_BrainExplode();
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_Die(name damagetype = "none");
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_Detonate();
|
2009-09-14 09:41:09 +00:00
|
|
|
action native A_Mushroom(class<Actor> spawntype = "FatShot", int numspawns = 0, int flags = 0, float vrange = 4.0, float hrange = 0.5);
|
2008-08-13 14:51:28 +00:00
|
|
|
action native A_CallSpecial(int special, int arg1=0, int arg2=0, int arg3=0, int arg4=0, int arg5=0);
|
2006-12-04 23:25:59 +00:00
|
|
|
|
|
|
|
action native A_SetFloorClip();
|
|
|
|
action native A_UnSetFloorClip();
|
|
|
|
action native A_HideThing();
|
|
|
|
action native A_UnHideThing();
|
|
|
|
action native A_SetInvulnerable();
|
|
|
|
action native A_UnSetInvulnerable();
|
|
|
|
action native A_SetReflective();
|
|
|
|
action native A_UnSetReflective();
|
|
|
|
action native A_SetReflectiveInvulnerable();
|
|
|
|
action native A_UnSetReflectiveInvulnerable();
|
|
|
|
action native A_SetShootable();
|
|
|
|
action native A_UnSetShootable();
|
|
|
|
action native A_NoGravity();
|
|
|
|
action native A_Gravity();
|
|
|
|
action native A_LowGravity();
|
2008-08-11 22:28:14 +00:00
|
|
|
action native A_SetGravity(float gravity);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_Fall();
|
|
|
|
action native A_SetSolid();
|
|
|
|
action native A_UnsetSolid();
|
|
|
|
action native A_SetFloat();
|
|
|
|
action native A_UnsetFloat();
|
|
|
|
|
2009-06-27 19:37:53 +00:00
|
|
|
action native A_M_Saw(sound fullsound = "weapons/sawfull", sound hitsound = "weapons/sawhit", int damage = 2, class<Actor> pufftype = "BulletPuff");
|
2006-12-04 23:25:59 +00:00
|
|
|
|
|
|
|
action native A_ScreamAndUnblock();
|
|
|
|
action native A_ActiveAndUnblock();
|
|
|
|
action native A_ActiveSound();
|
|
|
|
|
|
|
|
action native A_FastChase();
|
|
|
|
action native A_FreezeDeath();
|
|
|
|
action native A_FreezeDeathChunks();
|
|
|
|
action native A_GenericFreezeDeath();
|
|
|
|
action native A_IceGuyDie();
|
|
|
|
action native A_CentaurDefend();
|
|
|
|
action native A_BishopMissileWeave();
|
|
|
|
action native A_CStaffMissileSlither();
|
|
|
|
action native A_PlayerScream();
|
2010-02-12 06:04:57 +00:00
|
|
|
action native A_SkullPop(class<PlayerChunk> skulltype = "BloodySkull");
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_CheckPlayerDone();
|
|
|
|
|
|
|
|
action native A_Wander();
|
|
|
|
action native A_Look2();
|
|
|
|
action native A_TossGib();
|
|
|
|
action native A_SentinelBob();
|
|
|
|
action native A_SentinelRefire();
|
|
|
|
action native A_Tracer2();
|
|
|
|
action native A_SetShadow();
|
|
|
|
action native A_ClearShadow();
|
|
|
|
action native A_GetHurt();
|
|
|
|
action native A_TurretLook();
|
|
|
|
action native A_KlaxonBlare();
|
|
|
|
action native A_Countdown();
|
2011-06-13 10:30:30 +00:00
|
|
|
action native A_AlertMonsters(float maxdist = 0);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_ClearSoundTarget();
|
|
|
|
action native A_FireAssaultGun();
|
|
|
|
action native A_CheckTerrain();
|
|
|
|
|
2007-05-28 22:18:51 +00:00
|
|
|
action native A_MissileAttack();
|
|
|
|
action native A_MeleeAttack();
|
|
|
|
action native A_ComboAttack();
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_BulletAttack();
|
2011-05-09 22:10:20 +00:00
|
|
|
action native A_WolfAttack(int flags = 0, sound whattoplay = "weapons/pistol", float snipe = 1.0, int maxdamage = 64, int blocksize = 128, int pointblank = 2, int longrange = 4, float runspeed = 160.0, class<Actor> pufftype = "BulletPuff");
|
2009-09-14 22:12:31 +00:00
|
|
|
action native A_PlaySound(sound whattoplay = "weapons/pistol", int slot = CHAN_BODY, float volume = 1.0, bool looping = false, float attenuation = ATTN_NORM);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_PlayWeaponSound(sound whattoplay);
|
|
|
|
action native A_FLoopActiveSound();
|
|
|
|
action native A_LoopActiveSound();
|
2009-04-14 09:06:03 +00:00
|
|
|
action native A_StopSound(int slot = CHAN_VOICE); // Bad default but that's what is originally was...
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_PlaySoundEx(sound whattoplay, coerce name slot, bool looping = false, int attenuation = 0);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_StopSoundEx(coerce name slot);
|
2009-10-09 20:54:28 +00:00
|
|
|
action native A_SeekerMissile(int threshold, int turnmax, int flags = 0, int chance = 50, int distance = 10);
|
2009-09-14 22:12:31 +00:00
|
|
|
action native A_Jump(int chance = 256, state label, ...);
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_CustomMissile(class<Actor> missiletype, float spawnheight = 32, int spawnofs_xy = 0, float angle = 0, int flags = 0, float pitch = 0);
|
2010-09-16 03:14:32 +00:00
|
|
|
action native A_CustomBulletAttack(float/*angle*/ spread_xy, float/*angle*/ spread_z, int numbullets, int damageperbullet, class<Actor> pufftype = "BulletPuff", float range = 0, int flags = 0);
|
2013-06-07 03:31:30 +00:00
|
|
|
action native A_CustomRailgun(int damage, int spawnofs_xy = 0, color color1 = "", color color2 = "", int flags = 0, int aim = 0, float maxdiff = 0, class<Actor> pufftype = "BulletPuff", float/*angle*/ spread_xy = 0, float/*angle*/ spread_z = 0, float range = 0, int duration = 0, float sparsity = 1.0, float driftspeed = 1.0, class<Actor> spawnclass = "none", float spawnofs_z = 0);
|
2008-08-11 22:28:14 +00:00
|
|
|
action native A_JumpIfHealthLower(int health, state label);
|
|
|
|
action native A_JumpIfCloser(float distance, state label);
|
2010-05-14 02:34:25 +00:00
|
|
|
action native A_JumpIfTracerCloser(float distance, state label);
|
|
|
|
action native A_JumpIfMasterCloser(float distance, state label);
|
2012-09-06 03:36:25 +00:00
|
|
|
action native A_JumpIfTargetOutsideMeleeRange(state label);
|
|
|
|
action native A_JumpIfTargetInsideMeleeRange(state label);
|
2011-06-07 23:05:24 +00:00
|
|
|
action native A_JumpIfInventory(class<Inventory> itemtype, int itemamount, state label, int owner = AAPTR_DEFAULT);
|
2009-10-17 01:38:54 +00:00
|
|
|
action native A_JumpIfArmorType(name Type, state label, int amount = 1);
|
2011-03-18 08:02:23 +00:00
|
|
|
action native A_GiveInventory(class<Inventory> itemtype, int amount = 0, int giveto = AAPTR_DEFAULT);
|
|
|
|
action native A_TakeInventory(class<Inventory> itemtype, int amount = 0, int flags = 0, int giveto = AAPTR_DEFAULT);
|
2009-09-14 22:12:31 +00:00
|
|
|
action native A_SpawnItem(class<Actor> itemtype = "Unknown", float distance = 0, float zheight = 0, bool useammo = true, bool transfer_translation = false);
|
2013-03-20 03:07:45 +00:00
|
|
|
action native A_SpawnItemEx(class<Actor> itemtype, float xofs = 0, float yofs = 0, float zofs = 0, float xvel = 0, float yvel = 0, float zvel = 0, float angle = 0, int flags = 0, int failchance = 0, int tid=0);
|
2010-02-12 06:04:57 +00:00
|
|
|
action native A_Print(string whattoprint, float time = 0, name fontname = "");
|
|
|
|
action native A_PrintBold(string whattoprint, float time = 0, name fontname = "");
|
2009-09-14 19:44:14 +00:00
|
|
|
action native A_Log(string whattoprint);
|
2009-10-25 02:19:51 +00:00
|
|
|
action native A_LogInt(int whattoprint);
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_SetTranslucent(float alpha, int style = 0);
|
|
|
|
action native A_FadeIn(float reduce = 0.1);
|
2009-06-07 22:13:16 +00:00
|
|
|
action native A_FadeOut(float reduce = 0.1, bool remove = true);
|
2010-04-26 01:56:25 +00:00
|
|
|
action native A_FadeTo(float target, float amount = 0.1, bool remove = false);
|
2010-11-08 00:01:21 +00:00
|
|
|
action native A_SetScale(float scalex, float scaley = 0);
|
2011-01-14 22:59:20 +00:00
|
|
|
action native A_SetMass(int mass);
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_SpawnDebris(class<Actor> spawntype, bool transfer_translation = false, float mult_h = 1, float mult_v = 1);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_CheckSight(state label);
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_ExtChase(bool usemelee, bool usemissile, bool playactive = true, bool nightmarefast = false);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_DropInventory(class<Inventory> itemtype);
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_SetBlend(color color1, float alpha, int tics, color color2 = "");
|
2008-08-11 22:28:14 +00:00
|
|
|
action native A_ChangeFlag(string flagname, bool value);
|
2011-06-07 23:05:24 +00:00
|
|
|
action native A_CheckFlag(string flagname, state label, int check_pointer = AAPTR_DEFAULT);
|
2008-08-11 22:28:14 +00:00
|
|
|
action native A_JumpIf(bool expression, state label);
|
2008-12-06 10:22:37 +00:00
|
|
|
action native A_RemoveMaster();
|
|
|
|
action native A_RemoveChildren(bool removeall = false);
|
2009-07-13 22:07:18 +00:00
|
|
|
action native A_RemoveSiblings(bool removeall = false);
|
2009-12-13 04:59:19 +00:00
|
|
|
action native A_KillMaster(name damagetype = "none");
|
|
|
|
action native A_KillChildren(name damagetype = "none");
|
|
|
|
action native A_KillSiblings(name damagetype = "none");
|
2009-07-13 22:07:18 +00:00
|
|
|
action native A_RaiseMaster();
|
|
|
|
action native A_RaiseChildren();
|
|
|
|
action native A_RaiseSiblings();
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_CheckFloor(state label);
|
2009-04-23 23:20:21 +00:00
|
|
|
action native A_CheckCeiling(state label);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_PlayerSkinCheck(state label);
|
|
|
|
action native A_BasicAttack(int meleedamage, sound meleesound, class<actor> missiletype, float missileheight);
|
2010-07-23 21:55:01 +00:00
|
|
|
action native A_Teleport(state teleportstate = "", class<SpecialSpot> targettype = "BossSpot", class<Actor> fogtype = "TeleportFog", int flags = 0, float mindist = 128, float maxdist = 0);
|
2011-06-14 22:45:42 +00:00
|
|
|
action native A_Warp(int ptr_destination, float xofs = 0, float yofs = 0, float zofs = 0, float angle = 0, int flags = 0, state success_state = "");
|
2009-06-30 20:57:51 +00:00
|
|
|
action native A_ThrowGrenade(class<Actor> itemtype, float zheight = 0, float xyvel = 0, float zvel = 0, bool useammo = true);
|
2009-12-25 12:03:51 +00:00
|
|
|
action native A_Weave(int xspeed, int yspeed, float xdist, float ydist);
|
2006-12-04 23:25:59 +00:00
|
|
|
|
2009-06-30 20:57:51 +00:00
|
|
|
action native A_Recoil(float xyvel);
|
2011-06-07 23:05:24 +00:00
|
|
|
action native A_JumpIfInTargetInventory(class<Inventory> itemtype, int amount, state label, int forward_ptr = AAPTR_DEFAULT);
|
|
|
|
action native A_GiveToTarget(class<Inventory> itemtype, int amount = 0, int forward_ptr = AAPTR_DEFAULT);
|
|
|
|
action native A_TakeFromTarget(class<Inventory> itemtype, int amount = 0, int flags = 0, int forward_ptr = AAPTR_DEFAULT);
|
2012-03-30 04:28:10 +00:00
|
|
|
action native A_RadiusGive(class<Inventory> itemtype, int distance, int flags, int amount = 0);
|
2009-10-16 16:04:19 +00:00
|
|
|
action native A_CountdownArg(int argnum, state targstate = "");
|
2009-09-14 22:12:31 +00:00
|
|
|
action native A_CustomMeleeAttack(int damage = 0, sound meleesound = "", sound misssound = "", name damagetype = "none", bool bleed = true);
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_CustomComboAttack(class<Actor> missiletype, float spawnheight, int damage, sound meleesound = "", name damagetype = "none", bool bleed = true);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_Burst(class<Actor> chunktype);
|
2009-09-28 15:55:57 +00:00
|
|
|
action native A_Blast(int flags = 0, int strength = 255, int radius = 255, float speed = 20, class<Actor> blasteffect = "BlastEffect", sound blastsound = "BlastRadius");
|
2012-08-30 04:01:50 +00:00
|
|
|
action native A_RadiusThrust(int force = 128, int distance = -1, int flags = RTF_AFFECTSOURCE, int fullthrustdistance = 0);
|
|
|
|
action native A_Explode(int damage = -1, int distance = -1, int flags = XF_HURTSOURCE, bool alert = false, int fulldamagedistance = 0, int nails = 0, int naildamage = 10, class<Actor> pufftype = "BulletPuff");
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_Stop();
|
2009-09-15 21:57:51 +00:00
|
|
|
action native A_Respawn(int flags = 1);
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_BarrelDestroy();
|
|
|
|
action native A_QueueCorpse();
|
2007-09-02 09:57:08 +00:00
|
|
|
action native A_DeQueueCorpse();
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_LookEx(int flags = 0, float minseedist = 0, float maxseedist = 0, float maxheardist = 0, float fov = 0, state label = "");
|
2012-03-22 21:40:26 +00:00
|
|
|
action native A_ClearLastHeard();
|
2007-12-23 21:56:46 +00:00
|
|
|
action native A_ClearTarget();
|
2013-03-23 02:55:59 +00:00
|
|
|
action native A_CheckLOF(state jump, int flags = 0, float range = 0, float minrange = 0, float angle = 0, float pitch = 0, float offsetheight = 0, float offsetwidth = 0, int ptr_target = AAPTR_DEFAULT);
|
2010-09-16 03:14:32 +00:00
|
|
|
action native A_JumpIfTargetInLOS (state label, float/*angle*/ fov = 0, int flags = 0, float dist_max = 0, float dist_close = 0);
|
|
|
|
action native A_JumpIfInTargetLOS (state label, float/*angle*/ fov = 0, int flags = 0, float dist_max = 0, float dist_close = 0);
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_DamageMaster(int amount, name damagetype = "none");
|
|
|
|
action native A_DamageChildren(int amount, name damagetype = "none");
|
2008-12-06 10:22:37 +00:00
|
|
|
action native A_DamageSiblings(int amount, name damagetype = "none");
|
2006-12-04 23:25:59 +00:00
|
|
|
action native A_SelectWeapon(class<Weapon> whichweapon);
|
2008-01-13 15:47:55 +00:00
|
|
|
action native A_Punch();
|
2008-07-21 17:03:30 +00:00
|
|
|
action native A_Feathers();
|
2008-08-03 16:13:23 +00:00
|
|
|
action native A_ClassBossHealth();
|
2008-08-05 17:58:38 +00:00
|
|
|
action native A_ShootGun();
|
2008-08-05 22:51:51 +00:00
|
|
|
action native A_RocketInFlight();
|
2008-08-06 22:59:24 +00:00
|
|
|
action native A_Bang4Cloud();
|
2008-08-07 17:45:35 +00:00
|
|
|
action native A_DropFire();
|
2008-08-11 22:28:14 +00:00
|
|
|
action native A_GiveQuestItem(int itemno);
|
2008-08-07 20:16:07 +00:00
|
|
|
action native A_RemoveForcefield();
|
2008-08-08 10:24:08 +00:00
|
|
|
action native A_DropWeaponPieces(class<Actor> p1, class<Actor> p2, class<Actor> p3);
|
2008-08-09 11:35:42 +00:00
|
|
|
action native A_PigPain ();
|
2009-06-06 12:46:35 +00:00
|
|
|
action native A_MonsterRefire(int chance, state label);
|
2009-09-14 19:44:14 +00:00
|
|
|
action native A_SetAngle(float angle = 0);
|
2011-12-06 01:25:37 +00:00
|
|
|
action native A_SetPitch(float pitch, int flags = 0);
|
2009-06-30 21:24:29 +00:00
|
|
|
action native A_ScaleVelocity(float scale);
|
|
|
|
action native A_ChangeVelocity(float x = 0, float y = 0, float z = 0, int flags = 0);
|
2009-07-16 22:50:58 +00:00
|
|
|
action native A_SetArg(int pos, int value);
|
2009-10-25 02:19:51 +00:00
|
|
|
action native A_SetUserVar(name varname, int value);
|
|
|
|
action native A_SetUserArray(name varname, int index, int value);
|
2009-09-17 20:54:07 +00:00
|
|
|
action native A_SetSpecial(int spec, int arg0 = 0, int arg1 = 0, int arg2 = 0, int arg3 = 0, int arg4 = 0);
|
2009-10-15 08:25:07 +00:00
|
|
|
action native A_Quake(int intensity, int duration, int damrad, int tremrad, sound sfx = "world/quake");
|
2012-08-24 21:02:49 +00:00
|
|
|
action native A_SetTics(int tics);
|
2013-03-13 04:04:48 +00:00
|
|
|
action native A_SetDamageType(name damagetype);
|
2007-04-28 09:06:32 +00:00
|
|
|
|
2010-02-26 00:08:25 +00:00
|
|
|
action native A_CheckSightOrRange(float distance, state label);
|
2013-06-23 16:45:17 +00:00
|
|
|
action native A_CheckRange(float distance, state label);
|
2010-02-26 00:08:25 +00:00
|
|
|
|
2011-03-18 08:02:23 +00:00
|
|
|
action native A_RearrangePointers(int newtarget, int newmaster = AAPTR_DEFAULT, int newtracer = AAPTR_DEFAULT, int flags=0);
|
|
|
|
action native A_TransferPointer(int ptr_source, int ptr_recepient, int sourcefield, int recepientfield=AAPTR_DEFAULT, int flags=0);
|
|
|
|
action native A_CopyFriendliness(int ptr_source = AAPTR_MASTER);
|
|
|
|
|
2012-10-18 03:19:27 +00:00
|
|
|
action native ACS_NamedExecute(name script, int mapnum=0, int arg1=0, int arg2=0, int arg3=0);
|
|
|
|
action native ACS_NamedSuspend(name script, int mapnum=0);
|
|
|
|
action native ACS_NamedTerminate(name script, int mapnum=0);
|
|
|
|
action native ACS_NamedLockedExecute(name script, int mapnum=0, int arg1=0, int arg2=0, int lock=0);
|
|
|
|
action native ACS_NamedLockedExecuteDoor(name script, int mapnum=0, int arg1=0, int arg2=0, int lock=0);
|
|
|
|
action native ACS_NamedExecuteWithResult(name script, int arg1=0, int arg2=0, int arg3=0, int arg4=0);
|
|
|
|
action native ACS_NamedExecuteAlways(name script, int mapnum=0, int arg1=0, int arg2=0, int arg3=0);
|
2012-02-16 21:49:09 +00:00
|
|
|
|
2008-08-09 11:35:42 +00:00
|
|
|
States
|
|
|
|
{
|
2008-08-10 14:19:47 +00:00
|
|
|
Spawn:
|
2008-08-09 11:35:42 +00:00
|
|
|
TNT1 A -1
|
|
|
|
Stop
|
2008-08-10 14:19:47 +00:00
|
|
|
Null:
|
2008-08-09 11:35:42 +00:00
|
|
|
TNT1 A 1
|
|
|
|
Stop
|
2008-08-10 14:19:47 +00:00
|
|
|
GenericFreezeDeath:
|
|
|
|
// Generic freeze death frames. Woo!
|
2010-04-19 02:46:50 +00:00
|
|
|
"####" "#" 5 A_GenericFreezeDeath
|
2008-08-10 14:19:47 +00:00
|
|
|
"----" A 1 A_FreezeDeathChunks
|
|
|
|
Wait
|
2009-09-14 20:47:53 +00:00
|
|
|
GenericCrush:
|
|
|
|
POL5 A -1
|
|
|
|
Stop
|
2008-08-09 11:35:42 +00:00
|
|
|
}
|
|
|
|
}
|