Skip to content

Instantly share code, notes, and snippets.

@DrMcCoy
Created January 12, 2016 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DrMcCoy/c4c04975e9947f7f05e9 to your computer and use it in GitHub Desktop.
Save DrMcCoy/c4c04975e9947f7f05e9 to your computer and use it in GitHub Desktop.
// 2443_tr_portal_cl
// If we've completed illefarn ruins, transition to 2410
// EPF 8/2/06
#include "ginc_transition"
void main()
{
object oPC = GetClickingObject();
if(GetGlobalInt("00_bCompletedIllefarnRuins"))
{
if ( GetGlobalInt( VAR_GLOBAL_GATHER_PARTY ) == 1 )
{
if ( IsPartyGathered( oPC ) == FALSE )
{
ReportPartyGather( oPC );
return;
}
}
SetGlobalInt("nLastSongPortal",2443);
SinglePartyTransition(oPC, GetObjectByTag("2410_portal_exit"));
}
else
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment