Further file organization
Further file organization
This commit is contained in:
15
nwn/nwnprc/trunk/scripts/prc_con_gol_w_ma.nss
Normal file
15
nwn/nwnprc/trunk/scripts/prc_con_gol_w_ma.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object oMaster = GetMaster(OBJECT_SELF);
|
||||
object oOldMaster = oMaster;
|
||||
while(GetIsObjectValid(oMaster))
|
||||
{
|
||||
oOldMaster = oMaster;
|
||||
oMaster = GetMaster(OBJECT_SELF);
|
||||
}
|
||||
if(GetIsPC(oOldMaster))
|
||||
return FALSE; //dont show it, the PC can order it around
|
||||
else
|
||||
return TRUE;
|
||||
}
|
Reference in New Issue
Block a user