- 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

View file

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