Jump to content

Recommended Posts

Posted

Hi

 

I have a problem with editing multiplayer FFA missions.

How to prevent client's re-spawning?

I just want to allow only one initial spawning for each clients.

Is it possible?

Posted

Yes, but you have to use the scripting engine.

 

Basically you have to periodically check to see if a player has spawned into a mission and try to detect if they have respawned or not. If they have respawned you can use Group.destroy() to prevent a player from staying in a given aircraft. The player might spawn but moments later the scripting engine would remove their aircraft from the mission.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted
Yes, but you have to use the scripting engine.

 

Basically you have to periodically check to see if a player has spawned into a mission and try to detect if they have respawned or not. If they have respawned you can use Group.destroy() to prevent a player from staying in a given aircraft. The player might spawn but moments later the scripting engine would remove their aircraft from the mission.

 

Thanks for your reply!

  • 1 month later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...