Modme Forums
Menu:

Help with the Hand Icon

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


ModmeBot:

Thread By: hubigygjjik
hey im doing a custom Easter Egg but i dont want this hand in the game to appear because it will be very easy to know how to do it.
https://gyazo.com/4a7de0ebdada067719c3f18736955ea0

This is my gsc file

function PrincipalEEinit()
{
	door_trig = GetEnt("doorEE", "targetname");
	door_trig SetHintString("This door is opened somewhere else");
	door_trig SetCursorHint("HINT_NOICON");
	level.opendoor = 0;
	level.dooropened = 3;
 
	thread onpainting1();	
	thread onpainting2();
	thread onpainting3();
}

function onpainting1()	
{
	painting1 = GetEnt("1stpainting", "targetname");
	painting1 waittill("trigger", player);
	painting1 SetCursorHint("HINT_NOICON");
	model1 = GetEnt("1rstmodel", "targetname");
	model1 delete();
	level.opendoor++;
	thread finishedEE();
	painting1 delete();
}
	
function onpainting2()
{
	painting2 = GetEnt("2ndpainting", "targetname");
	painting2 waittill("trigger", player);
	painting2 SetCursorHint("HINT_NOICON");
	model2 = GetEnt("2ndmodel", "targetname");
	model2 delete();
	level.opendoor++;
	painting2 delete();
}

function onpainting3()
{
	painting3 = GetEnt("3rdpainting", "targetname");
	painting3 waittill("trigger", player);
	painting3 SetCursorHint("HINT_NOICON");
	model3 = GetEnt("3rdmodel", "targetname");
	model3 delete();
	level.opendoor++;
	thread FinishedEE();
	painting3 delete();
}

function FinishedEE()
{ 
  if(level.opendoor == 3)	
  {
     eedoor = GetEntArray("easter_egg_door","targetname");
     for(i=0;i<eedoor.size;i++) {="" eedoor="" [i]="" delete();="" }="" }=""></eedoor.size;i++)>


ModmeBot:

Reply By: TrueGamerCalls

function PrincipalEEinit()
{
	door_trig = GetEnt("doorEE", "targetname");
	door_trig SetHintString("This door is opened somewhere else");
	door_trig SetCursorHint("HINT_NOICON");
	level.opendoor = 0;
	level.dooropened = 3;
 
	thread onpainting1();	
	thread onpainting2();
	thread onpainting3();
}

function onpainting1()	
{
	painting1 = GetEnt("1stpainting", "targetname");
        painting1 SetHintString(" ");
        painting1 SetCursorHint("HINT_NOICON");
	painting1 waittill("trigger", player);
	model1 = GetEnt("1rstmodel", "targetname");
	model1 delete();
	level.opendoor++;
	thread finishedEE();
	painting1 delete();
}
	
function onpainting2()
{
	painting2 = GetEnt("2ndpainting", "targetname");
        painting2 SetHintString(" ");
        painting2 SetCursorHint("HINT_NOICON");
	painting2 waittill("trigger", player);
	model2 = GetEnt("2ndmodel", "targetname");
	model2 delete();
	level.opendoor++;
	painting2 delete();
}

function onpainting3()
{
	painting3 = GetEnt("3rdpainting", "targetname");
	painting3 waittill("trigger", player);
	painting3 SetHintString(" ");
        painting3 SetCursorHint("HINT_NOICON");
	model3 = GetEnt("3rdmodel", "targetname");
	model3 delete();
	level.opendoor++;
	thread FinishedEE();
	painting3 delete();
}

function FinishedEE()
{ 
  if(level.opendoor == 3)	
  {
     eedoor = GetEntArray("easter_egg_door","targetname");
     for(i=0;i<eedoor.size;i++) {="" eedoor="" [i]="" delete();="" }="" }=""></eedoor.size;i++)>


You made a few errors, you need to put a "panting# SetHintString(" ")" as blank with the SetCursorHint under it, and it needs to be above the waittill trigger. Basically when you put it under the waittill trigger the Cursorhint and stuff won't register until the trigger is activiated, this is also the case for flags. Also instead of making a new post per error, just reply to the previous thread or message someone for help.

<em></em>ALSO, FORMATING MESSED UP AGAIN, JUST FIX THAT PLZ.


ModmeBot:

Reply By: Fil he Modder
select the trigger and press N and then just change one of the options to HINTNOICON


ModmeBot:

Reply By: hubigygjjik

TrueGamerCalls
You made a few errors, you need to put a "panting# SetHintString(" ")" as blank with the SetCursorHint under it, and it needs to be above the waittill trigger. Basically when you put it under the waittill trigger the Cursorhint and stuff won't register until the trigger is activiated, this is also the case for flags. Also instead of making a new post per error, just reply to the previous thread or message someone for help. ALSO, FORMATING MESSED UP AGAIN, JUST FIX THAT PLZ.

Yeah sorry about doing that bro, im new at this and thank you again!