edited June 2015 in Makinom Support
alright so i set up a gamemanager that houses a object variable component now on that i made 2 global variables 1 called spawned an another called killed... now as of now im working on getting the spawn count from everything thats been spawned. so i set up a automachine on the prefabs im spawning an on this automachine i have a schematic that changes the spawned global var by adding 1 to it.. my intention by doing this was so that every time something spawned the the automachine would kick in at start an add 1 every time something was spawned. now on my spawners i have a tick machine that keeps checking to see if the global var spawned has reached 60 or greater an on success it would deactivate its child object which i got set to search for tag an on deactivate i set it to deactivate the found object. problem is this dosent seem to work an i cant figure out why my global might not be updating...
Post edited by wtyson on
new website can be found here http://www.fore-loregames.com

Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

or check out the face book page here https://www.facebook.com/ForeLoreGames
Sign In or Register to comment.