- Added support for using named scripts with UDMF maps. On lines with ACS specials

(i.e. ACS_Execute, etc.), set the arg0str property to the name of the script to execute. The
  standard numeric arg0 property will be ignored in this case.

SVN r3372 (trunk)
This commit is contained in:
Randy Heit 2012-02-18 02:39:01 +00:00
commit d9b8b344ff
5 changed files with 76 additions and 52 deletions

View file

@ -396,8 +396,7 @@ void P_SerializeWorld (FArchive &arc)
<< li->special
<< li->Alpha
<< li->id;
if ((li->special >= ACS_Execute && li->special <= ACS_LockedExecuteDoor) ||
li->special == ACS_ExecuteAlways)
if (P_IsACSSpecial(li->special))
{
P_SerializeACSScriptNumber(arc, li->args[0], false);
}