Be a Supporter!
dludicrous
dludicrous
  • Member since: Jun. 26, 2007
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
visibility Mar. 8th, 2008 @ 11:44 PM Reply

how do you make something visible with a cirtain score, and invisible without that score?
PLEASE help!

23450
23450
  • Member since: May. 28, 2003
  • Offline.
Forum Stats
Member
Level 27
Blank Slate
Response to visibility Mar. 8th, 2008 @ 11:47 PM Reply

if (score == number) {
object._visible = false
} else {
object._visible = true
}
}

Not much else to it then a simple statement.


BBS Signature
dludicrous
dludicrous
  • Member since: Jun. 26, 2007
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to visibility Mar. 8th, 2008 @ 11:54 PM Reply

At 3/8/08 11:47 PM, 23450 wrote: if (score == number) {
object._visible = false
} else {
object._visible = true
}
}

Not much else to it then a simple statement.

thanks but it didnt work, the object is visible even when you only have 1 score

Lard-lad
Lard-lad
  • Member since: May. 30, 2007
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to visibility Mar. 9th, 2008 @ 03:22 AM Reply

At 3/8/08 11:54 PM, dludicrous wrote:
At 3/8/08 11:47 PM, 23450 wrote: if (score == number) {
object._visible = false
} else {
object._visible = true
}
}

Not much else to it then a simple statement.
thanks but it didnt work, the object is visible even when you only have 1 score

Well duh, you need to change the "number" part to "<=" and then follow it by the score you want it to appear at...


Just click the sig, idiot.

BBS Signature