Initial commit. Updated release archive.
This commit is contained in:
14
_module/nss/mw_tele_leader.nss
Normal file
14
_module/nss/mw_tele_leader.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "mw_teleport_inc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC,
|
||||
oLeader;
|
||||
int iTime;
|
||||
|
||||
oPC = GetPCSpeaker();
|
||||
oLeader = GetFactionLeader(oPC);
|
||||
iTime = GetHitDice(oPC);
|
||||
if (oLeader != oPC)
|
||||
mw_TeleportWithEffects(oPC, oLeader, IntToFloat(iTime));
|
||||
}
|
Reference in New Issue
Block a user