Is there a way to determine if a pathnode is inside of a specific zone? i tried using isTouching but apparently pathnodes never return true on isTouching. Is there a way to get the different vertices of a info_goal so i can use those to manually determine if a pathonode is inside of the zone?
you should use the timer hud element which once set will count down but you will need to delete the timer hud element once it reaches 0,this is how the campaign does timers.
Or even use the clock hud element which is what is used for the stopwatch in der riese . it can have any time set for the max time.
there is a couple of ways of doing this you can do it in code and when the trigger takes damage check that the "type" received is of type, . you can get this data by doing
the other option is in radiant under the entity window to check the box for no on all types of damage except for explosion and projectile.
You're setting the health value just fine but you never stopped the original code from running so it just sets the health value to what ever is the calculated value for the current round. to keep this from happening you need to either comment out the original code or delete it all together.
PS: in case you don't know how to make a comment you make one by placing // in front of a line of text
does the variable still exist in bo3? if it does you could just do something like this
this can also be done with a volume instead of a trigger
PS:this is a quick example you want to do other checks before setting the .ignoreme variable such as if the player is in laststand because if you dont its possible they would become a target if they are downed and not in the trigger zone
they have already told you that you implemented your if statement in correctly. if you do it like this: is what happens is the first string and GetCurrentWeapon get turned into a Boolean evaluation and then the second string is evaluated as a Boolean which is not comparable. if you run it in developer 1 you should get an error stating "can't compare Boolean to string" but if you arent running in developer 1 it will just kill the thread and not do anything
you need to make your if statement like this since you are testing the same string twice against two different values.
As well as if you are using a model that is not loaded by the zombiemode scripts then you need to preCacheModel the model before _load::main is called which is done inside of _zombiemode::main.
Your error has nothing to do with your FX, the error says there is no function named i have a feeling it is because in the word "from" there is a "0" instead of an "o"