area/Westside
Entered(mob/A)
verbs += /mob/player/verb/DuelStart
area/Eastside
mob
player
proc
Duel1(mob/A,mob/B)
if(!Dueling)
if(A in (/area/Westside))
if(B in (/area/Eastside))
Dueling = 1
A.verbs-= /mob/player/verb/DuelStart
B.verbs-= /mob/player/verb/DuelStart
Screen()
Screen()
Draw(A)
Draw(A)
Draw(A)
Draw(A)
Draw(A)
Draw(B)
Draw(B)
Draw(B)
Draw(B)
Draw(B)
RPS(A,B)
verb
DuelStart(mob/A,mob/B)
alert("Do you wish to start a duel?","Duel Start","Yes","No")
Duel1(A,B)//This line
This is the runtime I don't really understand it since Duel1 is not an /area/Westside verb:
runtime error: undefined proc or verb /area/Westside/Duel1(). proc name: DuelStart (/mob/player/verb/DuelStart) source file: Main.dm,76 usr: Adas (/mob/player) src: Westside (/area/Westside) call stack: Westside (/area/Westside): DuelStart(Adas (/mob/player), the blah (/mob/player))
Also for some reason when I click DuelStart when I am in /area/Westside it gives me an input of everyone in the world...twice. Thanks alot.