Modme Forums
Menu:

Remove “Not available”

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: snprym
I want to remove Not available from some use triggers. Is says not available even tho it works perfectly.


ModmeBot:

Reply By: natesmithzombies

trigger SetCursorHint( "HINT_NOICON' ); // removes the hand icon
trigger SetHintString( "This is the new hintstring" ); 


ModmeBot:

Reply By: snprym
How do i put that in this



function shoot2()
{
    shoot_trig2 = GetEnt("egg_shoot2", "targetname");
    shoot_trig2 waittill("trigger", player);
    shoot_model2 = GetEnt("shoot_model2", "targetname");
    shoot_model2 delete();
    level.soundEasterEgg++;
    thread finishedEasterEgg();
    shoot_trig2 delete();
}





// Mod edit: please use code tags


ModmeBot:

Reply By: natesmithzombies

snprymHow do i put that in this



// Mod edit: please use code tags


function shoot2()
{
    shoot_trig2 = GetEnt("egg_shoot2", "targetname");
 shoot_trig2 SetHintString( "Shoot me" ); 
 shoot_trig2 SetCursorHint( "HINT_NOICON" ); // idt you need this for a trigger damage but might as well be safe 
    shoot_trig2 waittill("trigger", player);
    shoot_model2 = GetEnt("shoot_model2", "targetname");
    shoot_model2 delete();
    level.soundEasterEgg++;
    thread finishedEasterEgg();
    shoot_trig2 delete();
}


ModmeBot:

Reply By: snprym
Thanks man it works!!