Hey guys... first off I would just like to thank CJ for making a wonderful adventure game engine for all of us.
ok the point... I have a table in the middle of my room that of course I used a walkbehind defined area on. I also have a hotspot on it to interact with an object in my inventory so I can put my inventory item on the table. When I turn the room object back on (to simulating putting the inventory item on the table) it always puts it behind.
so I tried the SetObjectIgnoreWalkbehinds in the room sript
like this...
SetObjectIgnoreWalkbehinds(4,1);
and it always comes up with an error.. there is nothing before it or after it.
if you guys have any ideas I would really apprieciate it..
thank you ;D ;D ;D
knowing how it is in the script, and what error, would help us help you :)
Hehe yes, you'll need to tell us the exact error message.
The only possible error I can think of with that command is using an invalid object number - are you sure that the room object is object 4?
I put it in just I saw it in the manual
SetObjectIgnoreWalkbehinds (4,1);
so in my room script it is..
// room script file
//SetObjectIgnoreWalkbehinds(4,1);
just like that nothing is before it or after it.
all the interaction with object 4(which is the cutting board) is done with the editor and not script..
The Error that pops up says..
There was an error Compiling your script. The problem was:
In: 'Main script'
Error (line 2): Parse Error: unexpected'SetObjectIgnoreWalkbehinds'
I don't know how else to implement this script?
you can't put it in the room script, put it in "player enters screen before fade in" and i bet it works
That did it!!!!!!!!!!!!!!!!!!!!!!
;D ;D ;D ;D ;D ;D ;D ;D
thank you very much guys...
I hope you guys will bear with me because there will be more posts in the future
see you guys around
8) 8)