Added PEPS AI
Added PEPS AI. Full compile. Reorganized repository.
This commit is contained in:
11
src/module/nss/cb_npcsitchair2.nss
Normal file
11
src/module/nss/cb_npcsitchair2.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC, OBJECT_SELF, 1, CREATURE_TYPE_PERCEPTION, PERCEPTION_SEEN);
|
||||
|
||||
if (IsInConversation(OBJECT_SELF) || GetIsInCombat()) return;
|
||||
|
||||
ActionSit(GetObjectByTag("REBTHRONE"));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user