Alice Community  

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

Reply
 
Thread Tools Display Modes
Function
Old
rondoran
Junior Member
 
Status: Offline
Posts: 5
Join Date: Sep 2011
Location: Werribee
Red face Function - 10-20-2011, 04:59 AM

How do I return in a function an object? I have two objects and in the code the lion for example must turn and face one of the objects and I need to set this value in a function so that the lion can jump over the object. Return true if tree or false if Santa or true if Santa and false if tree
As always any help appreciated
Cheers
Ron
   
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.