Blockland Forums > Modification Help

Detecting when someone's score changes?

Pages: << < (3/3)

MegaScientifical:


--- Quote from: Greek2me on June 05, 2011, 12:52:16 AM ---Haha, you do that to!

--- End quote ---

Well yes. Any important, short scripting tricks I hear of, I add to a list at the bottom of my main one for safe keeping. If I should forget it, it's there.

Daenth:

Few more questions if you guys don't mind. =P

--- Quote from: Daenth on June 04, 2011, 01:20:08 AM ---On a side note: Is there any way to detect if a player has respawned. Also, is there a list of all these things like GameConnection::setScore?

--- End quote ---

EDIT: What is %flag used for?

otto-san:


--- Quote from: Daenth on June 05, 2011, 10:24:15 PM ---Few more questions if you guys don't mind. =P

--- End quote ---
gameConnection::spawnPlayer(%client)

Destiny/Zack0Wack0:


--- Quote from: Daenth on June 05, 2011, 10:24:15 PM ---Few more questions if you guys don't mind. =P
EDIT: What is %flag used for?

--- End quote ---
%flag is what the score is being changed to. Just rename it to %score if it makes it easier for you.

Greek2me:


--- Quote from: Daenth on June 04, 2011, 01:20:08 AM ---Is there any way to detect if a player has respawned.

--- End quote ---


--- Code: ---if(isObject(%client.player)) //check if they have a player object
//if they do, that means they've spawned, do stuff
--- End code ---


Pages: << < (3/3)

Go to full version