This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-11-10 18:26:02

gaving
Scratcher
Registered: 2009-11-10
Posts: 7

Im new and, how do i check a value?

how do i check a variable? im making an hp and if its 0, i need to check that. can you tell me what panel thats in?

Offline

 

#2 2009-11-10 18:27:21

floatingmagictree
Scratcher
Registered: 2008-10-21
Posts: 1000+

Re: Im new and, how do i check a value?

gaving wrote:

how do i check a variable? im making an hp and if its 0, i need to check that. can you tell me what panel thats in?

<if> <( HP <=> 0 )>
<set{ dead }to( 1
<end>

Offline

 

#3 2009-11-10 18:32:56

gaving
Scratcher
Registered: 2009-11-10
Posts: 7

Re: Im new and, how do i check a value?

ok, i didnt realixe i could add number things in if, thanks ^.^

Offline

 

Board footer