Initial Upload
Initial Upload
This commit is contained in:
18
_module/nss/newport_trans.nss
Normal file
18
_module/nss/newport_trans.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
void main()
|
||||
{
|
||||
object oClicker = GetClickingObject();
|
||||
object oTarget = GetTransitionTarget(OBJECT_SELF);
|
||||
location lLoc = GetLocation(oTarget);
|
||||
object oWP = GetObjectByTag("wp_kotoll");
|
||||
object oMod = GetModule();
|
||||
int nMod= GetCampaignInt("released","status",oMod);
|
||||
|
||||
if(nMod == 1)
|
||||
{
|
||||
AssignCommand(oClicker,JumpToObject(oWP));
|
||||
}
|
||||
else
|
||||
{
|
||||
AssignCommand(oClicker,JumpToLocation(lLoc));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user