Hi guys :D
here is the error:
An error has accured. Please contact the game author for support, as this is likely to be a scripting error and not a bug in AGS.
(ACI version 2.61.747)
(Global script line 101)
Error: DysplayMessage: Invalid message number to Display
This error comes when i test the game and look at a hotspot, what this hotspot does is let the caracter look at it (in direction) and then dysplays a message, the message is dysplaid and the it comes,
line 101 in global script is:
94 function on_mouse_click(int button) // called when a mouse button is clicked. button is either LEFT or RIGHT
95 {
96 if (IsGamePaused()==1) // Game is paused, so do nothing (ie. don't allow
mouse click)
97 {
98 }
99 else if (button==LEFT)
100 {
101 ProcessClick(mouse.x,mouse.y,GetCursorMode());
102 }
103 else // right-click, so cycle cursor
104 {
105 SetNextCursorMode();
106 }
107 }
help please
can you post the look script for the object please?
FaceLocation (CHARACTER, 216, 80);
DisplayMessage (1);
have you put message 1 rather than message 0 (0 being the first) by accident?
ah now i understand, i didn't use code, and when i did, edit message it had been checked a box that says, dysplay the next message, but that message doesn't exist :=
thanks Hotspot for the help
no problem :)