Initial Upload
Initial Upload
This commit is contained in:
26
_module/nss/choparing.nss
Normal file
26
_module/nss/choparing.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
#include "x2_inc_switches"
|
||||
void main()
|
||||
{
|
||||
int nEvent =GetUserDefinedItemEventNumber();
|
||||
|
||||
if (nEvent ==X2_ITEM_EVENT_UNEQUIP) return;
|
||||
if (nEvent ==X2_ITEM_EVENT_EQUIP) return;
|
||||
|
||||
if (GetTag(GetItemActivated()) == "choparing")
|
||||
{
|
||||
|
||||
object oTarget = GetItemActivatedTarget();
|
||||
if (!GetIsObjectValid(oTarget))
|
||||
return;
|
||||
|
||||
// Apply effects
|
||||
AssignCommand(oTarget, ClearAllActions());
|
||||
|
||||
DelayCommand(3.0, AssignCommand(oTarget, SpeakString("F.H.O are the best Guild to join!", TALKVOLUME_SHOUT)));
|
||||
//DelayCommand(8.0, AssignCommand(oTarget, SpeakString("I am an evil villain who should repent!", TALKVOLUME_SHOUT)));
|
||||
DelayCommand(8.0, AssignCommand(oTarget, SpeakString("You should all join the F.H.O and follow the True Path of Light", TALKVOLUME_SHOUT)));
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user