Jump to content
Sign in to follow this  
zorrobyte

Returning clientID of Headless Client

Recommended Posts

I'm trying to use the new setGroupOwner command and I'm failing to find/get the HC's clientID. I created a Headless Client game logic, configured my server.cfg and all looks correct (headlessclient does not show in player's list so I know it's being autoassigned).

  • My Headless Client game logic is named h1
  • I start server, HC and mission loads, HC is assigned automatically
  • I run diag_log (owner h1) on server and check RPT
  • RPT shows "1" - which is the server's clientID, not the HC

syntax for setGroupOwner is the same as setOwner: object setOwner clientID

What am I doing wrong?

---------- Post added at 04:31 AM ---------- Previous post was at 03:45 AM ----------

Solved it, the Headless Unit gamelog MUST be set as playable!

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  

×