This is my log in code...
mob/create_character
var/mob/character
Login()
var/charactername = input("What is your name?","Name",src.key) .
switch(input("What Clan are you born to?","Clan","Leaf Ninjas") in list("Leaf Ninjas","Shadow Ninjas"))
if("Leaf Ninjas")
character = new /mob/LeafNinjas()
if("Shadow Ninjas")
character = new /mob/ShadowNinjas()
character.name = charactername
src.client.mob = character
del(src)
I was wondering if someone could help me make it so that the Leaf Ninjas spawned at 1,1,1 while the Shadow Ninjas spawned at 25,25,1
ID:148063
![]() Jul 23 2003, 9:16 pm
|
|
![]() Jul 23 2003, 10:10 pm
|
|
Look up the <code>loc</code> var and the <code>locate()</code> proc in the reference (hit F1 in Dream Maker).
|
u could make 2 diff turfs for the clases make two icons that are blank start1 and start2 then make the turf and put them on the map then use this
mob/create_character var/mob/character Login() var/charactername = input("What is your name?","Name",src.key) . switch(input("What Clan are you born to?","Clan","Leaf Ninjas") in list("Leaf Ninjas","Shadow Ninjas")) if("Leaf Ninjas") character = new /mob/LeafNinjas() loc = locate(/turf/start1) if("Shadow Ninjas") character = new /mob/ShadowNinjas() loc = locate(/turf/start2) character.name = charactername src.client.mob = character del(src) that should work |