- added ACS and DECORATE setter functions for named translations.

This commit is contained in:
Christoph Oelckers 2016-10-02 14:09:45 +02:00
commit 0bce6e3925
5 changed files with 58 additions and 1 deletions

View file

@ -7412,3 +7412,18 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_SetVisibleRotation)
ACTION_RETURN_BOOL(true);
}
//==========================================================================
//
//
//
//==========================================================================
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_SetTranslation)
{
PARAM_SELF_PROLOGUE(AActor);
PARAM_STRING(trname);
self->SetTranslation(trname);
return 0;
}