Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

Reply
 
Thread Tools Display Modes
Need some help bad
Old
iBeBeAsTy
Junior Member
 
Status: Offline
Posts: 3
Join Date: Jan 2011
Location: Lakeland
Default Need some help bad - 04-24-2011, 07:40 PM

i keep geting a error when i try to shoot, just started happening recently when i first started making the game gun shot perfectly
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 04-25-2011, 05:26 PM

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.
   
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.