- scriptified the Acolyte.
This commit is contained in:
parent
d4427e696d
commit
7ea9f60464
7 changed files with 87 additions and 94 deletions
|
|
@ -486,6 +486,14 @@ void player_t::SetLogNumber (int num)
|
|||
}
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(_PlayerInfo, SetLogNumber)
|
||||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(player_t);
|
||||
PARAM_INT(log);
|
||||
self->SetLogNumber(log);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void player_t::SetLogText (const char *text)
|
||||
{
|
||||
LogText = text;
|
||||
|
|
@ -496,6 +504,14 @@ void player_t::SetLogText (const char *text)
|
|||
AddToConsole(-1, "\n");
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(_PlayerInfo, SetLogText)
|
||||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(player_t);
|
||||
PARAM_STRING(log);
|
||||
self->SetLogText(log);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int player_t::GetSpawnClass()
|
||||
{
|
||||
const PClass * type = PlayerClasses[CurrentPlayerClass].Type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue