Assuming you want to send the mission message to one player, you need to already have that player in a variable.
If you want to send it to every player you can just do this:
publicVariable "missionSoundPVC";
publicVariable on the clientside
"missionSoundPVC" addPublicVariableEventhandler {
playSound "alert";
missionSoundPVC = nil;
};
how you call it from the server
missionSoundPVC = true;
(owner (vehicle unit)) publicVariableClient "missionSoundPVC";
You could even get fancier and make it...
https://community.bistudio.com/wiki/setCombatMode
https://community.bistudio.com/wiki/setBehaviour
Make sure you have both of those set to your liking.
This might help you. It's how you can create your own custom ambient music, or remove the ambient music.
http://opendayz.net/threads/tutorial-custom-ambient-music-serverside.15208/
Unless you use a database trigger, or a 999 call, you can't really change the skin for a specific player, or "lock it" to their account. The only way you can try to do it otherwise is as I posted in this thread using the skin changing code, forcing it to run on that player everytime they login...
That is EMS, not DZMS. The version of EMS released by TheFuchs is outdated, and not kept error free by him.
If you want to use EMS instead of DZMS, I recommend using Defent's Edit of EMS. (Posted on EpochMod)
--------------------------------
If you mean using two different launchers, that can...
Replace RPG with backpack and you get the same idea.
The second error you posted is a script error. Its from DZMSSpawnVehPatrol which I did not write. You'll have to contact @BetterDeadThanZed about it.
I'm not sure what the issue with that is. It may be it trying to add an RPG to a dead AI, or trying to take an RPG from a nonexistant unit, I'm not really sure.
It should work fine, but some people were reporting that vehicles were blowing up randomly, even with vehicle saving off. If you hardcode Epoch mode to be off in DZMSInit, that shouldn't happen.
If a vehicle is in the dynamic vehicle list, it will spawn on the map. That is the only purpose of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.