Modme Forums

Help with Growing Souls script

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


ModmeBot:

Thread By: simplyzak09
Hello,
I want to edit Makecents Growing Souls script so, the player has to activate a trigger which then triggers the Soul Boxes appear on the map


Growing Souls Link

UPDATE: So my attempt went brilliantly, I got it working in two attempts :) it's a small but simple add-on to Make cents script, I Possible may even do a tutorial
but My problem now is the clips are still there when the soul boxes are not, How would I go about having the Clips doing the same as the Script_Models

Function Start_EE()
{
 trig_1 = GetEnt("EE_start","targetname");
 trig_1 SetHintString("Press ^3&&1^7 to activate");  //Set's Trigger
 trig_1 SetCursorHint("HINT_NOICON");
 Objects = GetEntArray("grow_soul3","targetname");  // Sets the script_models
 
 foreach(object in objects)   //Hides Models
	object Hide();
{	
 trig_1 waittill("trigger",player);
 
 foreach(object in objects) //Shows Models
  object Show();
  
 thread WatchZombies();  //Activates the growing souls script
 
 trig_1 Delete();  //Delets the trigger
 }
 
 }


ModmeBot:

Reply By: simplyzak09
Update: Problem Solved, New problem with finding a way to hide the clips until triggered


ModmeBot:

Reply By: Unity_N

simplyzak09
Update: Problem Solved, New problem with finding a way to hide the clips until triggered

To hide the clips, you can give them a targetname, then in the code use:
clipname hide();

Then, when you want the clip to be there again, use:
clipname show();

(Make sure to change where it says "clipname" to whatever your made yours)