Server Portal
Posted: Tue Mar 30, 2004 11:32 am
portaling between server mods is been testing my meddle as of late
this is what i got from the Lexicon. and to no availe it hasnt worked,
does anyone out there have a working script?
Code: Select all
void ActivatePortal(
object oTarget,
string sIPaddress = "",
string sPassword = "",
string sWaypointTag = "",
int bSeamless = FALSE
);
Code: Select all
// In the OnUsed of a statue
// Sends the using PC to another (fictional) server
// with player password "mumb0Jumb0", and has
// the PC appear at waypoint "ISK_WP_PORTAL". The
// player will not be notified that they've moved server.
#include "nw_i0_generic"
void main()
{
object oPC = GetLastUsedBy();
if (!GetIsPC( oPC )) return;
ActivatePortal(oPC, "nwn.iskander.tv:5432", "mumb0Jumb0", "ISK_WP_PORTAL", TRUE);
}
does anyone out there have a working script?