mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-15 17:02:33 +00:00
4597b03873
Opens in Android Studio but haven't even tried to build it yet (it won't.. I know that much!)
46 lines
2 KiB
C
46 lines
2 KiB
C
/*
|
|
===========================================================================
|
|
Copyright (C) 2000 - 2013, Raven Software, Inc.
|
|
Copyright (C) 2001 - 2013, Activision, Inc.
|
|
Copyright (C) 2013 - 2015, OpenJK contributors
|
|
|
|
This file is part of the OpenJK source code.
|
|
|
|
OpenJK is free software; you can redistribute it and/or modify it
|
|
under the terms of the GNU General Public License version 2 as
|
|
published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
===========================================================================
|
|
*/
|
|
|
|
typedef enum //# bSet_e
|
|
{//This should check to matching a behavior state name first, then look for a script
|
|
BSET_INVALID = -1,
|
|
BSET_FIRST = 0,
|
|
BSET_SPAWN = 0,//# script to use when first spawned
|
|
BSET_USE,//# script to use when used
|
|
BSET_AWAKE,//# script to use when awoken/startled
|
|
BSET_ANGER,//# script to use when aquire an enemy
|
|
BSET_ATTACK,//# script to run when you attack
|
|
BSET_VICTORY,//# script to run when you kill someone
|
|
BSET_LOSTENEMY,//# script to run when you can't find your enemy
|
|
BSET_PAIN,//# script to use when take pain
|
|
BSET_FLEE,//# script to use when take pain below 50% of health
|
|
BSET_DEATH,//# script to use when killed
|
|
BSET_DELAYED,//# script to run when self->delayScriptTime is reached
|
|
BSET_BLOCKED,//# script to run when blocked by a friendly NPC or player
|
|
BSET_BUMPED,//# script to run when bumped into a friendly NPC or player (can set bumpRadius)
|
|
BSET_STUCK,//# script to run when blocked by a wall
|
|
BSET_FFIRE,//# script to run when player shoots their own teammates
|
|
BSET_FFDEATH,//# script to run when player kills a teammate
|
|
BSET_MINDTRICK,//# script to run when player does a mind trick on this NPC
|
|
|
|
NUM_BSETS
|
|
} bSet_t;
|