Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Works-In-Progress (http://www.alice.org/community/forumdisplay.php?f=14)
-   -   Need some help bad (http://www.alice.org/community/showthread.php?t=6399)

iBeBeAsTy 04-24-2011 07:40 PM

Need some help bad
 
1 Attachment(s)
i keep geting a error when i try to shoot, just started happening recently when i first started making the game gun shot perfectly

x2495iiii 04-25-2011 05:26 PM

1 Attachment(s)
Fix'd.

You can't have empty objects in a list that tries to measure the distance from each object in the list to something else. The error came from Alice not knowing how to get the <None>'s distance to the left and right of the cross hair in your shoot method.


All times are GMT -5. The time now is 06:04 AM.

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