Alice Community  

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

Reply
 
Thread Tools Display Modes
Change Event in runTime
Old
frcol
Guest
 
Status:
Posts: n/a
Default Change Event in runTime - 08-18-2009, 01:21 AM

Is there a way to change an event, for example the " Arrow Key move Object", in run time?

Example: I set the arrow key to movie the cow, but when I click the police car, I want to the arrow key to move the car now.

Is it Possible?

thanks
   
Reply With Quote
Old
Veryuhbull
Guest
 
Status:
Posts: n/a
Default 08-18-2009, 08:49 AM

Yes, you can do this by,
when up is pressed
if (varaible) move cow
then move car
that is the simple version. I'll see if I have an example.
This should help you.
Attached Files
File Type: a2w vehicle.a2w (1.44 MB, 9 views)

Last edited by Veryuhbull; 08-18-2009 at 08:54 AM.
   
Reply With Quote
Old
frcol
Guest
 
Status:
Posts: n/a
Default 08-18-2009, 04:10 PM

Thank you!

but we can´t change the object that we associated to a event , correct? for example (Let the arrow keys Move subject)
   
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 ©2020, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.