21 lines
623 B
Plaintext
21 lines
623 B
Plaintext
|
/* Script generated by
|
|||
|
Lilac Soul's NWN Script Generator, v. 2.3
|
|||
|
|
|||
|
For download info, please visit:
|
|||
|
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
|||
|
|
|||
|
//Goes on creature's OnHeartbeat. Fires when not fighting or talking.
|
|||
|
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;
|
|||
|
|
|||
|
ActionSpeakString("'Hey, what a big sword you<6F>ve got. Gee, I<>m scared of soldiers, aren<65>t you, Lukey?'");
|
|||
|
|
|||
|
ActionPlayAnimation(ANIMATION_LOOPING_PAUSE_DRUNK);
|
|||
|
|
|||
|
}
|
|||
|
|