- scriptified the Heresiarch.
This commit is contained in:
parent
f5b3429274
commit
f17f6c30c2
7 changed files with 461 additions and 596 deletions
|
|
@ -842,6 +842,13 @@ DEFINE_ACTION_FUNCTION(DObject, GameType)
|
|||
ACTION_RETURN_INT(gameinfo.gametype);
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DObject, BAM)
|
||||
{
|
||||
PARAM_PROLOGUE;
|
||||
PARAM_FLOAT(ang);
|
||||
ACTION_RETURN_INT(DAngle(ang).BAMs());
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(FStringTable, Localize)
|
||||
{
|
||||
PARAM_PROLOGUE;
|
||||
|
|
@ -856,4 +863,5 @@ DEFINE_ACTION_FUNCTION(FString, Replace)
|
|||
PARAM_STRING(s2);
|
||||
self->Substitute(*s1, *s2);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue