Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Object height
Old
colart
Guest
 
Status:
Posts: n/a
Default Object height - 04-28-2010, 11:52 AM

Hi I need help, I need to create a function to show the height of something and cant work out how to do it, any help? Thanks
   
Reply With Quote
Old
ranchman20
Guest
 
Status:
Posts: n/a
Default 04-28-2010, 12:12 PM

If you are using the ground, simply create a variable and make it so that it is always set to an objects height

example

click up and down to move it
Attached Files
File Type: a2w example.a2w (159.9 KB, 14 views)
   
Reply With Quote
Old
colart
Guest
 
Status:
Posts: n/a
Default 04-28-2010, 12:48 PM

Thanks Ranchman, I final did it I think! Its one of the exercises from the Intro to alice book. It seems to work so I guess its ok
Thanks anyway
Attached Files
File Type: a2w C4ex3TripleJumpWhileLoop3.a2w (1.45 MB, 16 views)
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.