Initial spawn round of the engineer... change it for the one you study want....
Code Snippet
Plaintext
set_zombie_var( "engineer_first_round", 1 );
The intervals between which the engineer will be able to spawn again... in the example below it will be a random number between 3 and 5... adjust it as you wish....
First of all u make a great job on ur scripts man but now after i set all up in my map the engineer spawn, his weapon disappears and he doesnt move, may u can help me with my problem or know how to fix it ?
Hello shippuden! I added this to my map recently but ran into one problem with dog rounds. If i kill every dog before killing the engineer (on a dog round where he spawns) Then the round will not end once he dies. I know there was a similar problem (I think) with Bluntstuffy's PanzerSoldat, which he posted how to fix this within the instructions of that mod, but i wasn't to sure how to correct this with engineer. I saw this function
And thought, maybe if i changed "level.engineer_active_on" to equal to false instead, but quickly realized it was calling "engineer_first_round", Nothing to do with dog rounds (Assumption) as of why it's probably an else statement. But maybe there is something similar I can do to set him spawning on dog rounds, to false? Anyways, hope to hear back from you, might just set this to false to see what breaks or doesn't lol. (Also forgive my terrible scripting knowledge)
First of all u make a great job on ur scripts man but now after i set all up in my map the engineer spawn, his weapon disappears and he doesnt move, may u can help me with my problem or know how to fix it ?
Hello shippuden! I added this to my map recently but ran into one problem with dog rounds. If i kill every dog before killing the engineer (on a dog round where he spawns) Then the round will not end once he dies. I know there was a similar problem (I think) with Bluntstuffy's PanzerSoldat, which he posted how to fix this within the instructions of that mod, but i wasn't to sure how to correct this with engineer. I saw this function
And thought, maybe if i changed "level.engineer_active_on" to equal to false instead, but quickly realized it was calling "engineer_first_round", Nothing to do with dog rounds (Assumption) as of why it's probably an else statement. But maybe there is something similar I can do to set him spawning on dog rounds, to false? Anyways, hope to hear back from you, might just set this to false to see what breaks or doesn't lol. (Also forgive my terrible scripting knowledge)
The if( flag("dog_round" ) ) is supposed to check if the current round is a dog round, if so then the enginner doesn't appear until the next round. Do you want to mix them? Or does it even appear in round of dogs?