ID:273896
 
in a bump say for chidori
with the usr and src i can i make it so the switch alert
how i make it so it sends to only src instead of bumper/usr
so it doesn't ask both of them the question
switch(alert("[src] Would You Like to add more chakra to you chidori if not you will die?","More Chakra","Yes","No"))


It only asks the bumper as far as I see. But you could add the first arg (reference) to it.
In response to Lugia319
i guess i asked wrong lol i meant to ask how i make it so it so it asks src

instead of bumper
The source is the bumper.
Post the whole bump proc so we can see what you have going on.
In response to WickedlyAndy
WickedlyAndy wrote:
Post the whole bump proc so we can see what you have going on.

mob/Bump(mob/src)
..()
if(istype(src,/turf))
return
if(istype(src,/obj))
return
else
if(src.Chidorion&&!usr.ChidoriCollide)
usr.frozen=1
src.frozen=1
src.attacking=1
usr.attacking=1
usr.ChidoriCollide=1
src.ChidoriCollide=1
var/DMG1 = usr.ChidoriD
var/DMG2 = src.ChidoriD
usr.overlays+='chidoriover.dmi'
src.overlays+='chidoriover.dmi'
if(DMG1 >=DMG2)

not finished

what i want is to make it so it asks both users a question but 2 dif question if ones winning but losing if they wanna add more chakra and it asks 3 times after 3rd time it picks who won but i want to send a yes or no question and if one of them hits no then it auto goes to the 3rd try picks who won the collide.
Then send different messages to each mob. Remember that the alert() proc has an arg to control to whom it is sent.
In response to Lugia319
thats was my question basic how do i make the alert send them sep messages useing the alert
alert(src,"Message","Message Title")

It can be applied to anything.