Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Inglov

#1
Ah, okay! I totally misunderstood the manual. I did not make the "int" as I thought the hotspot would be the int and would automatically be counted if I wrote == 0 == 1 and so on.

Thank you!
#2
Oops, I forgot to put the braces here, but they are in my script. Any other reason this error comes up?
My script looks exactly like you wrote now, but I still get the error :(
#3
Hi! I am new here, and I have a problem with my script.
I am testing out "if", and I have no idea what I am doing wrong here.

When I try this:

function hSkilt_Look()
    if (hSkilt_Look == 0 ) Display ("blablabla"); (This is line 21)
    if (hSkilt_Look == 1) player.Say ("Hello?");

I get the error message: Error (line 21): Expected '('

Can someone please help me with this?
SMF spam blocked by CleanTalk