Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Nixxon on Thu 01/05/2003 17:27:52

Title: setting object walk behind ignor crashing
Post by: Nixxon on Thu 01/05/2003 17:27:52
function room_a() {
 // script for room: Player enters screen (after fadein)

 SetObjectView(0,3);
  AnimateObject(0,0,19,1);
 SetObjectIgnoreWalkBehinds (0,1);



}

What needs to be fixed here? cheers
Title: Re:setting object walk behind ignor crashing
Post by: scotch on Thu 01/05/2003 20:51:38
function room_a() {
  // script for room: Player enters screen (after fadein)

  SetObjectView(0,3);
  AnimateObject(0,0,19,1);
  SetObjectIgnoreWalkbehinds (0,1);



}
Title: Re:setting object walk behind ignor crashing
Post by: Jimi on Thu 01/05/2003 20:53:06
that's exactly the same!
Title: Re:setting object walk behind ignor crashing
Post by: scotch on Thu 01/05/2003 20:54:28
Maybe to you :P to AGS it's completely different.
Title: Re:setting object walk behind ignor crashing
Post by: Enlaithion on Thu 01/05/2003 20:56:31
Quotethat's exactly the same!

No it isn't.  Look closer.
Title: Re:setting object walk behind ignor crashing
Post by: Jimi on Thu 01/05/2003 21:12:36
AhYes! Now I see it! But in the manual it uses a capital B.
Title: Re:setting object walk behind ignor crashing
Post by: Nixxon on Thu 01/05/2003 21:19:00
thanks :), i copied the "SetObjectIgnoreWalkBehinds" straight from the manual...it was wrong.. not cool!
anyways animated object still wont appear above the walk behind... any suggestions?
Title: Re:setting object walk behind ignor crashing
Post by: scotch on Thu 01/05/2003 21:22:03
erm, well it should be above.. make sure you have the right number of the object and uh yeah that's all I can think of.

btw, in my manuals it's lowercase.. strange.
Title: Re:setting object walk behind ignor crashing
Post by: Nixxon on Thu 01/05/2003 21:25:10
hmm now the objects not even playing it's view....
Title: Re:setting object walk behind ignor crashing
Post by: Nixxon on Thu 01/05/2003 21:30:17
arghh i decided to delete both my scripts and start again, now it gives me crap about "color" is already defined. brings up a script, no clue to what it actially means, i certainly didnt type it...wtf....gayness
Title: Re:setting object walk behind ignor crashing
Post by: Nixxon on Thu 01/05/2003 21:32:31
hmmm now the prog crashes every time i try to edit the script... i get to start again HAHAHA YAY >:(
Title: Re:setting object walk behind ignor crashing
Post by: Jimi on Thu 01/05/2003 21:34:43
 :-\
Title: Re:setting object walk behind ignor crashing
Post by: Nixxon on Thu 01/05/2003 21:40:34
perhaps the object isnt appearing over the walk behind because it's a mask image? could this be the case?
Title: Re:setting object walk behind ignor crashing
Post by: Nixxon on Thu 01/05/2003 21:56:06
really dun wanna give up masking
Title: Re:setting object walk behind ignor crashing
Post by: Nixxon on Thu 01/05/2003 22:02:28
YAY s'all good, seems to be working now "magically" :)
thanks all for your help, very much appreciated