ACS_Terminate

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
Costja
Posts: 188
Joined: Mon Oct 18, 2004 3:58 pm
Location: Russia, Moscow
Contact:

ACS_Terminate

Post by Costja »

(Talk:ACS_Terminate) I wrote:"You may not terminate scripts that were executed using the ACS ExecuteAlways special or ENTER scripts." - I think it actually means that "You man not terminate scripts that are allowed to have multiple instances, for example executed using ACS_ExecuteAlways and ENTER-script". So it also not possible ACS_Terminate RESPAWN scripts. Am I right?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Yes, you are. RESPAWN scripts are started in the same context as ENTER scripts which means that they can't be terminated.
Costja
Posts: 188
Joined: Mon Oct 18, 2004 3:58 pm
Location: Russia, Moscow
Contact:

Post by Costja »

Are ACS_ExecuteAlways-ed, ACS_ExecuteWithResult-ed, DEATH-, DISCONNECT-, ENTER- and RESPAWN- a full list of such scripts?

And is it possible to terminate them using terminate operator and suspend them using suspend-operator and/or ACS_Suspend?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

AFAIK that's all of them. Of course you can terminate them with 'terminate'. That simply executes some code that's normally put at the end of the script.

You can not suspend them. If you could you would end up with non-functional scripts that wait forever. Waiting and delaying is no problem but you can't restart them from the outside after a suspend.
Locked

Return to “Editing (Archive)”