Alice Community  

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

Reply
 
Thread Tools Display Modes
Help Please!
Old
siweimao
Junior Member
 
Status: Offline
Posts: 8
Join Date: Mar 2012
Location: Texas
Default Help Please! - 03-19-2012, 08:49 PM

Hi guys.. I have a lot of methods about if a person is within 10 meter of something... Then the other object does something. However, I put the method as looping infinity times and start it when the world starts. The problem is that if i do that, it will keep on doing the action. Is there a way so that alice will only do the method once and at the right timing?

Sorry if your confused with my problem.. I will gladly rephrase if you dont understand it.

Please help ASAP.. Thanks
   
Reply With Quote
Old
dakota95
Senior Member
 
dakota95's Avatar
 
Status: Offline
Posts: 426
Join Date: Aug 2011
Location: like I would tell you. ;)
Default 03-20-2012, 11:13 AM

What you should do is first use a when the world starts. Then right-click on it and change it to a while the world is running. Then put your function in it without the loop


<Insert_Signature_Here>
   
Reply With Quote
Old
siweimao
Junior Member
 
Status: Offline
Posts: 8
Join Date: Mar 2012
Location: Texas
Default 03-20-2012, 10:17 PM

Thank you I never realized that you can change it to when the world is running! xD Well it's fixed now.. so thanks once again!
   
Reply With Quote
help
Old
joealosteen
Junior Member
 
Status: Offline
Posts: 4
Join Date: Mar 2012
Location: joealosteen
Default help - 03-26-2012, 01:06 AM

You using start the game without looping at that time you desided any function key put and try this key working or not.This is useful idea.


time is money

Last edited by joealosteen; 03-26-2012 at 01:50 AM.
   
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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.