Initial commit. Updated release archive.
This commit is contained in:
26
_module/nss/portaltonwcc.nss
Normal file
26
_module/nss/portaltonwcc.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//void main()
|
||||
//{
|
||||
//object oPC=GetClickingObject();
|
||||
//if(!GetIsPC(oPC))
|
||||
//return;
|
||||
//ActivatePortal (oPC,"192.168.0.1","Password","WP_Go_Here",TRUE);
|
||||
//}
|
||||
//
|
||||
//That would send the pc clicking on the portal to a server at IP 192.168.0.1
|
||||
//The server would have a password on it called "Password" (if left blank then it assumes no password is needed.
|
||||
//The PC would appear at WP_Go_Here (if left blank they go to the mod's start point)
|
||||
//And TRUE means that the portal will be seamless, if FALSE you will go to their character select screen I believe)
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//a is the ip of the server connecting to
|
||||
//b is the player password if any in effect for server connecting to
|
||||
//c is the Waypoint on connecting server where character will appear, no Waypoint means default start location instead for arrival
|
||||
//TRUE or FALSE is for a smooth server transition
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastUsedBy();
|
||||
if(!GetIsPC(oPC))
|
||||
return;
|
||||
ActivatePortal (oPC,"nwn.eqstromm.com:5121","","",TRUE);
|
||||
}
|
Reference in New Issue
Block a user