ID:177668
 
If you have a global var named player and you define the first person logging in as player, but later in the Click() proc you use usr.score += 1, will that add one point to the player if there is no other players on?
Drafonis wrote:
If you have a global var named player and you define the first person logging in as player, but later in the Click() proc you use usr.score += 1, will that add one point to the player if there is no other players on?

usr will work in Click(). If player is defined as a mob, and if score is a mob variable (not just a mob/player variable), then it will work as you want.
Drafonis wrote:
If you have a global var named player and you define the first person logging in as player, but later in the Click() proc you use usr.score += 1, will that add one point to the player if there is no other players on?

usr is always the person who clicked, so if there's only one player, usr==player. Click() acts like a verb--it basically is one (.click).

Lummox JR