Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: ihmiskeho
As the title suggests, how does one override the normal laststand function?
I've searched through some scripts and found that some scripts have something like:
level.X_last_stand_func = &function;
level._zombie_minigun_powerup_last_stand_func = &minigun_powerup_last_stand;
function init()
{
//This is in the init function
level.afterlife_laststand_func = &afterlife_laststand;
}
function afterlife_laststand()
{
//For now it's just printing a text for testing purposes
IPrintLnBold("Laststand override");
}
However, nothing prints in game. It's not calling the laststand function.
Is there something I'm missing here?
ModmeBot:
Reply By: mathfag
zm.gsc
level.playerlaststand_func
ModmeBot:
Reply By: ihmiskeho
mathfag
zm.gsc level.playerlaststand_func