Maybe one day they will be able to go through by themselves... hmmm...
You would need to set up the opposite of color tracking and have them avoid a color instead of being attracted to it... make the maze out of that color and viola!
Once we've got the hang of camera work this should be pretty possible, i've been playing with the camera and getting nowhere lol. I need more instruction on the setting out of more complex code. For the drive stuff i managed to add a few more motions i'll open them up and see if i can remember how i did it might be set out something like
IF
ELSE IF
ELSE IF
ELSE
I'm going to have to review the work i did with the drive stuff anyway as i've gained alot more understanding of PAWN since last time. Btw were your; hunger.p, social.p and all your behaviour scripts scrambled in examples?
**EDIT**
ok scratch that last bit, don't use else stuff hehe.
Right when you have your behaviours folders and you've added different motions to the excel file you have to give a case for what will set off each behaviour heres my layout for the example (remember i rebuilt this so quality is not guaranteed)
{
switch (behavior_id)
{
case scr_wag: ///// added to make wag the default behav
{
return 50;
}
case scr_whine://// if happiness is low activate whine
{
if (property_get(property_happiness) < 40)
{
return 100;
}
}
}
return 0;
}
the drive example i worked on i change the eat behaviour to explore and got rid of the mouth being the input for blood sugar then put SENSOR_LIGHT_CHANGE in its place. This means that pleo explores until he experiences enough light change to have an ok blood sugar level, when he's upped his level enough he resumes wanting attention, until the prop drops by enough to trigger explore again that is. The behaviour is very simple in that pleo doesn't sense objects blocking his path but it's a good start.