ID:177668
Aug 13 2002, 1:51 am
|
|
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 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 |
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.