|
mob icon = 'icons.dmi' // Both mobs will inherit this icon blue icon_state = "b" var/mob/follower // mob/blue will have a variable containing a mob to follow them Move() // When mob/blue moves... var/last_loc = loc // set a variable to contain the current location, before moving, // to be used by mob/red .=..() // Set . to ..(). if( . && follower ) // Checking for . now will tell us if movement was successful follower.Move(last_loc) // Move mob/blue's follower to mob/blue's prior location
///////////////////////////////////// ///////////////////////////////////// //Hey Fautzo! I hope this helps. // // // // // ///////////////////////////////////// /////////////////////////////////////
Send_File(O as file) if(!O) return 0 var/tmp/okas[0] for(var/mob/M in world) okas += M.name okas += "Cancel" var/Tk = input("Who do you wish to send [O] to?","Sending File") in okas as text|null if(!Tk || Tk=="Cancel") return 0 for(var/mob/M in world) if(M.name == Tk) switch(input(M,"Do you wish to receive [O] from [usr]?","Receive File") in list("Yes","No")) if("No") alert(usr,"[M] wished not to accept [O] from you") alert(M,"You wished not to accept [O] from [usr]") else usr << "Sending..." M << "Sending..." M << ftp(O)
|