this script is run from the mission file via the onPlayerRespawn.sqf , and I must say works bloodily well too. Just if your diving or in a boat they still spawn and just scoot around like water skiers lol.
I have had a chat with Johnny Drama, he suggested surfaceIsWater
I've tried and failed so many different ways, either it errors out or the zeds will not spawn , have also tried isTouchingGround
Has anybody else know of a better(ie: easy) way to add a check to the above script for player position with near, on or in the water so zeds will not spawn.
Question
natoed
G'day All,
I use SM Zombz on my server but theirs an known issue- zed's will not attack a player vehicle so as a work around,
I'm using the below script to spawn ryan's zeds around a players position constantly too, so no one is safe in a vehicle.
Zombience.sqf
this script is run from the mission file via the onPlayerRespawn.sqf , and I must say works bloodily well too. Just if your diving or in a boat they still spawn and just scoot around like water skiers lol.
I have had a chat with Johnny Drama, he suggested surfaceIsWater
I've tried and failed so many different ways, either it errors out or the zeds will not spawn , have also tried isTouchingGround
Has anybody else know of a better(ie: easy) way to add a check to the above script for player position with near, on or in the water so zeds will not spawn.
cheers
natoed
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now