Class ScriptUtil

inherits from Object

Public Functions

static void GiveInventory(
Actor activator,
Name type,
int amount
)

static void TakeInventory(
Actor activator,
Name type,
int amount
)

static void ClearInventory(
Actor activator
)

static int SetWeapon(
Actor activator,
Class< Inventory > cls
)

static void SetMarineWeapon(
LevelLocals Level,
Actor activator,
int tid,
int marineweapontype
)

static void SetMarineSprite(
LevelLocals Level,
Actor activator,
int tid,
Class< Actor > type
)

static int PlayerMaxAmmo(
Actor activator,
Class< Actor > type,
int newmaxamount = int​.min,
int newbpmaxamount = int​.min
)

static int PlayerAmmo(
Actor activator,
Class< Inventory > type,
int newamount = int​.min
)