Initial upload
Initial upload
This commit is contained in:
21
_module/nss/pcworshipsguile.nss
Normal file
21
_module/nss/pcworshipsguile.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
//Created by Guile 3/12/07
|
||||
//Put this script OnUsed
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastUsedBy();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
|
||||
|
||||
if (DoOnce==TRUE) return;
|
||||
|
||||
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
AssignCommand(oPC, ClearAllActions());
|
||||
|
||||
AssignCommand(oPC, ActionPlayAnimation(ANIMATION_LOOPING_WORSHIP, 1.0f, 7.0f));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user