News:

We've upgraded the forum software.
You may need to log in again or reset your password!

Main Menu

Yet Another Question

Started by Sirbomber, February 24, 2009, 04:08:28 PM

Sirbomber

Is there a way to detect if a player quits mid-game?

Edit: Never mind, I fixed the bug in my AIProc version.
But why can't I delete my own topics anymore?
"As usual, colonist opinion is split between those who think the plague is a good idea, and those who are dying from it." - Outpost Evening Star

Outpost 2 Coding 101 Tutorials

Hooman

Hmm, that's an interesting question actually. I've wondered about stuff like that before. In short, no. At least nothing particularly obvious. I suppose you could try checking the number of players in the game to see if it decreases. Maybe check each player for things like IsHuman afterwards. It might actually call GoAI or something when someone drops.

Or you could hack the game, overwrite some code, and put in a code hook that detects when someone drops, or perhaps when someone dies. Not the easiest solution though.