- Update scripting branch to latest version of trunk.
SVN r3767 (scripting)
This commit is contained in:
commit
d85604da19
22 changed files with 99 additions and 105 deletions
|
|
@ -3362,6 +3362,10 @@ enum EACSFunctions
|
|||
ACSF_ACS_NamedLockedExecuteDoor,
|
||||
ACSF_ACS_NamedExecuteWithResult,
|
||||
ACSF_ACS_NamedExecuteAlways,
|
||||
|
||||
// ZDaemon
|
||||
ACSF_GetTeamScore = 19620,
|
||||
ACSF_SetTeamScore,
|
||||
};
|
||||
|
||||
int DLevelScript::SideFromID(int id, int side)
|
||||
|
|
@ -5292,20 +5296,24 @@ int DLevelScript::RunScript ()
|
|||
|
||||
case PCD_SCRIPTWAIT:
|
||||
statedata = STACK(1);
|
||||
sp--;
|
||||
scriptwait:
|
||||
if (controller->RunningScripts.CheckKey(statedata) != NULL)
|
||||
state = SCRIPT_ScriptWait;
|
||||
else
|
||||
state = SCRIPT_ScriptWaitPre;
|
||||
sp--;
|
||||
PutLast ();
|
||||
break;
|
||||
|
||||
case PCD_SCRIPTWAITDIRECT:
|
||||
state = SCRIPT_ScriptWait;
|
||||
statedata = uallong(pc[0]);
|
||||
pc++;
|
||||
PutLast ();
|
||||
break;
|
||||
goto scriptwait;
|
||||
|
||||
case PCD_SCRIPTWAITNAMED:
|
||||
statedata = -FName(FBehavior::StaticLookupString(STACK(1)));
|
||||
sp--;
|
||||
goto scriptwait;
|
||||
|
||||
case PCD_CLEARLINESPECIAL:
|
||||
if (activationline != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue