- added ACS strarg function which can convert a string into a string argument for ACS specials.

This commit is contained in:
Christoph Oelckers 2017-02-27 18:44:58 +01:00
parent 4bcbd5c011
commit f82ab889b2
1 changed files with 3 additions and 1 deletions

View File

@ -4367,6 +4367,7 @@ enum EACSFunctions
ACSF_SetTranslation, ACSF_SetTranslation,
ACSF_GetActorFloorTexture, ACSF_GetActorFloorTexture,
ACSF_GetActorFloorTerrain, ACSF_GetActorFloorTerrain,
ACSF_StrArg,
// OpenGL stuff // OpenGL stuff
@ -6087,7 +6088,8 @@ doplaysound: if (funcIndex == ACSF_PlayActorSound)
break; break;
} }
case ACSF_StrArg:
return -FName(FBehavior::StaticLookupString(args[0]));
default: default:
break; break;