generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
23
_module/nss/opw_conv_jlead.nss
Normal file
23
_module/nss/opw_conv_jlead.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Jump Party Member to Leader
|
||||
// opw_conv_jlead
|
||||
// By Don Anderson
|
||||
//
|
||||
// Called from the Rest Menu
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object oLeader = GetFactionLeader(oPC);
|
||||
|
||||
//Rest Reset
|
||||
SetLocalInt(oPC,"REST_MENU",0);
|
||||
SetLocalInt(oPC, "REST_ALLOWED", FALSE);
|
||||
|
||||
//Jump to Leader
|
||||
AssignCommand(oPC, ClearAllActions());
|
||||
AssignCommand(oPC,DelayCommand(3.0,JumpToObject(oLeader)));
|
||||
}
|
||||
Reference in New Issue
Block a user