Blockland Forums > Modification Help
Which function can I package to detect when a player was ghosted?
Bauklotz:
1:Which function can I package to detect when a player was ghosted?
2: Which function can I package to detect when a player was "un"-ghosted, aka. removed from the simulation?
>> simObject::onRemove?
I'm trying to make a kinda thing "List of players alive/dead" sorta-thing and I'd like some answers.
Bauklotz:
Imma test if simObject::onAdd exists and then gonna lock if it does.
EDIT: Didn't work, I had a slight thought about that it was when a object was added with that simObject as parent though.
EDIT EDIT: serverConnection::onAdd doesn't work either.
Amade:
1. armor::onAdd
2. armor::onDisabled / armor::onRemove
Bauklotz:
--- Quote from: Amade on July 05, 2010, 01:06:00 AM ---1. armor::onAdd
2. armor::onDisabled / armor::onRemove
--- End quote ---
Is this client-sided?
Amade:
--- Quote from: Bauklotz on July 05, 2010, 01:15:53 AM ---Is this client-sided?
--- End quote ---
No