Error with looking at Hotspot

Started by Kikadaaf, Tue 02/12/2008 07:38:21

Previous topic - Next topic

Kikadaaf

When i attempt to "Look" at thr hotspot i created for my wall the game crashes and gives me a message of: Error: Prepare_Script: error -18 (no such function in script) trying to run "Wall"   (room 1). ??? Anyone got any ideas? This is my first game with this, and after workin on this room for 3 hours I've met my first snag. I even did the hotspot the way the tutorial showed it.   :'(

Dualnames

Well, you probably have no line in the room script containing something like this:

Hotspot1_Look () {

It should seem this way, I can't really recall how it is exactly.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Khris

AGS will try to run the function whose name is entered in the events pane. So my guess is that in the field next to "Look at hotspot" it says "Wall" while there's no Wall() function in the room script.
Did you enter any commands supposed to be called after one has looked at the hotspot? Where did you enter them?

SMF spam blocked by CleanTalk