Jump to content
Sign in to follow this  
cryptonat

Give Zeus/Spawn Zeus module with scripts

Recommended Posts

Hello All,

I'm running a multiplayer server. We have Zeus gameLogic modules already placed on the map for the players we want to have Zeus. The problem is: I need to edit the mission/map to manually add the gameLogic module with the PID of the player we wish to give the ability.

What I wish to do is to have a script that creates a gameLogic module and applies a selected player's PID to the owner field of the newly created gameLogic. (I have an admin menu in my server that already allows me to do player selections on an automatically generated list.) Getting the PID of course isn't an issue but how would I spawn a working gameLogic with those parameters (and possibly delete it) using a scripting command?

Or in short: How can I spawn a Zeus gameLogic module and populate the "owner" field with predetermined information using a script while in a multiplayer game?

Thanks!

Edited by cryptonat

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  

×