Jump to content
Sign in to follow this  
litenthadark

Need some scripting help with a dedicated server

Recommended Posts

Hey there everyone. I just had a quick question regarding executing scripts on all clients.

I am currently using MOSS_Targets, a script that gives you access to a 3,2,1,0 target that shows hit points and allows you to register shooters to a lane and save scores. The script worked fine when I played in single player, but when I started a multiplayer listen server, it didn't. I got an issue that stated I didn't properly sync all objects in the editor. However, I did. I went back and checked it was all there.

After a day of scouring the internet, I found the if (!isdedicated) then command. This allowed me to execute the script on the host player and all clients. HALLELUJAH it worked. However, the purpose of this script is using it for my unit.

When taking the scripts and moving them to my dedicated server, I received the same "sync objects" error as I did previously on my listen server. I tried if isserver, if isdedicated, if userinterface, all to no avail.

If you guys need access to the scripts or mission files, or just have any idea how I can get this script to execute on all clients on my dedicated server, please let me know ASAP!

thanks for the help!!!

~Litenthadark

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×