Page 1 of 1
Problem With Drones, need help pleaze.
Posted: 2009.12.15 (14:47)
by The Black Lion
Hi, i'm making a map with some drone and it's very difficult to calculatte the good way for the drone. So i need help: what's exactly the difference bewteen surface follow and dumb. And i've a problem (bug ?), sometimes the drone don't move...
Please explain me how works the way system for drone and if it's possible that i've bug ?
Thanks in advance :)
Re: Problem With Drones, need help pleaze.
Posted: 2009.12.15 (19:48)
by Karifean
Surface Follow means, that the drone will follow a surface (surprise, surprise). Dumb means that the drone will always turn to the given direction when hitting a wall.
The bug with not-moving drones is probably, because you Copy&Paste your code into Ned and just press L. Now the L will be written at the end of your code. N can't do anything with the new setting at the ending of the code (representing initial turning of the drone, might be ",1L" or ",3L" now) and will transform it into NaN (Not a Number). A NaN in this position will cause the drone to not move at all.
Edit: To prevent this bug, simply press outside the textbox after pasting your code.
Re: Problem With Drones, need help pleaze.
Posted: 2009.12.17 (08:24)
by The Black Lion
Many thanks but it wasn't it :)
I've understand the bug: a place a drone and when i copy the text i see that there isn't a ! after the drone code... (the drone code is at the end of my text). I've add the ! and the drone works now. I don't really understand why NED didn't put the ! afeter the drone code but now it does it...
otherways, thanks for your help ;)