ID:264909
 
Code:
mob
NPC
Quest1
IndianLeader
icon='NPC.dmi'
icon_state="Leader"
density=1
Bump(mob/B)
var/A=rand(1,3)
if(A==1)
B.InterAlert("Hey do you need help?")
if(A==2)
B.InterAlert("Hey right click on me!!")
if(A==3)
B.InterAlert("You know I know a lot about this land")


Problem description:
For some reason the Bump is not happening. Would someone please help me understand what i am doing wrong?

Bump() is rather confusing in that the NPC would have to bump YOU in order for that to work. What you need to do is create a Bumped() proc which is called on an object when a player bumps something.
In response to LordAndrew
Ahh I didn't know that. Thanks for the help.