area
Tutorial_Continue
Enter(atom/A)
if(ismob(A))
var/mob/M=A
if(!M.tutorial==1)
alert("Please finish the first part of the tutorial with Luffy!")
return 0
else
return 1
else
return 0
Problem description:
When I go into that area nothing happens.
ID:140741
Sep 26 2009, 9:36 am
|
|
Code:
area Problem description: When I go into that area nothing happens. |
If you have tutorial set to one at start...
mob/var/tutorial=1 change it to... mob/var/tutorial=0 Your codes buggy but under normal conditions it should be fine. To be safe use this. area Also check that the area is actually on your map and that something isn't setting tutorial to one. If you have some sort of save system I recommend deleting or moving your save file before testing. |
In response to Chowder
|
|
The main problem was that they just forgot to put alert(A,texthere) instead of alert(texthere).
|
As for you error, you forgot to do the alert like this: