ID:156028
 
How would I make so you can activate your bijuu and it would appear from behing and like an aura behind you, I have the icons but I just began learning to code. I need like a verb you press that you get an aura, and a bijuu appears behind you and just stays there and when you deactivate it, it disappears
What the hell is a Bijuu.
In response to Emasym
Should have not said bijuu.
But it's like a monster pretty much.
In response to Emasym
hes talking bout naruto,a jinchuriki or w/e u call it
In response to MademanOne
Yeah
mob/verb/Activate_Demon()
if(usr.Demon==1)
view()<<"[usr]'s demon has been deactivated!"
usr.underlays-='demon.dmi'
usr.Demon=0
else view()<<"[usr]'s demon activates!"
usr.underlays+='demon.dmi'
usr.Demon=1

mob/var
Demon=0


Let me know if that helps.
obj
Bijuu_1
icon = 'Bijuu_1.dmi'
icon_state = "1"

mob/var
bijuu_activated

mob/verb/Activate_Bijuu()
var/obj/Bijuu_1 = new
if(!bijuu_activated)//if you didn't activate the bijuu
bijuu_actived = 1
src << "Activated"
src.overlays += Bijuu_1
else //else it has
bijuu_actived = 0
src << "De-activated"
src.overlays -= Bijuu_1

In response to OrangeWeapons
works ^-^
but how would it work like you have to have the bijuu, and so it would pop out, sorry if it sounds like your spoon feeding me :| but you can give me some and I can figure the rest out
In response to Atriosv3
you create a new object, and set its' location.

Ex. 1:
mob/verb/Summon_1()
var/mob/Monster1 = new
Monster1.loc = locate(src.x,src.y++,src.z)
//++ means (+ 1)

mob
Monster1
icon = 'monster1.dmi'


There are most likley better ways to go about doing that, I never got too into looking into them though.
In response to OrangeWeapons
Alright and I got an error. I'll edit this when I compile it again.
In response to Leggo my Wonder Waffle
Why are you using checks such as if(usr.Demon==1) while you can do if(usr.Demon)? For more information go here.