Need some help with my easter egg progression script
Game Modding | Call of Duty: Black Ops 3 | Scripting
Thread By: modric Ok so my easter egg will be using other people's scripts but the first step to initiate the ee is custom. The problem is that I am not good at scripting in the slightest so I need help getting it sorted. Basically I want to have a trigger with a hintstring make other models/triggers appear to collect and then the rest of the ee is other scripts. So really i just need to figure out how to make the trigs waittill one trig is used before they show. Here is what i have so far:
Reply By: mathfag Here you go:
Reply By: modric Didn't work, the hidden trigs and objects were visible the whole time and every trig including the start ee one says not available. Do i need to thread something?
Reply By: mathfag
modric Didn't work, the hidden trigs and objects were visible the whole time and every trig including the start ee one says not available. Do i need to thread something?
did you actually start the function (thread functionname();) because the start trigger should say
no questions asked.
to remove the not available from the other triggers add
where the triggers are being hidden and
when you make them reapear
Reply By: modric Ok thanks so far so good, but I think it would be easier to just seperate this ee step from others to make it easier to script. Could I make the tony objects and triggers disappear once triggered? also could I make them only triggered by a trigger damage with a specific gun? like the ray gun or something?
Reply By: mathfag Here's an update. Add trigger_damages and make the model the target of the trigger. Make the trigger and model into a prefab (you don't need to) and copy paste it where ever you want as many times as you want. And make sure the models DON'T HAVE A TARGETNAME. It has to be autogenerated when you make them targets. To autogenerate shift click on the trigger then shift click on the model and press W.
Reply By: modric Wow thank you this script is awesome. I just want to ask though , for the final reward, would it be possible to have a simple door move as one of the "rewards" for collecting all 3? just a simple script model to move or disappear would be awesome
Reply By: mathfag In the last function after the iprintlnbold and before the break; add thread tony_reward();
and this to the bottom:
I made is so you can open multiple doors but you can place only 1 (or 0) if you want. Also I wrote this in 5 mins so hope it works.
Reply By: Harry Bo21 you need to run
on the blocker before removing it or zombies will derp out if a player goes in there