I'm having a little trouble getting started with my AI:
var/mob/player/NPC = new
NPC.name = input("Please name the new NPC","Name") as text
usr.verbs += /mob/player/proc/delete_opponent
When i execute this proc, I'm the one who joins the game rather than the NPC. I was thinking that maybe i need to set usr = src inside join_game or something like that, but then in my list of players it just shows dramstud twice (instead of dramstud and NPC.name), so it seems like i'm doing this wrong altogether. any advice would be appreciated.
Copyright © 2015 BYOND. All rights reserved.