ID:266150
Aug 11 2001, 7:00 pm
|
|
when i have an event how do i lock movement like in a death state an have them move when the use a verb
|
In response to Lord of Water
|
|
Lord of Water wrote:
There's a incredibly simple way to do this... A strong sense also tells me that, but I have no physical or mental evidence that he is, so.. <code> mob/var/isdead = 0 //make a variable for mobs 'isdead'. I set it to 0 for fullness sake. mob/proc/Die() src.isdead = 1 //the person is dead, so make them dead mob/Move() if(isdead) //if the owner of the proc's 'isdead' variable equals 1.. return 0 //return 0, to prevent movement else //otherwise, return ..() //allow the person to move regularly </code> |
In response to Vortezz
|
|
Vortezz wrote:
Lord of Water wrote: Problem is he is making one he told me last night on AIM so I barely helped him I keep telling him to wait for his blue book.. |
In response to Nadrew
|
|
Nope!
There's a way MUCH more simple than any of that code... It's a little code that about, say, 1 LINE LONG!!! Bwahahaha! |
In response to Lord of Water
|
|
Lord of Water wrote:
Nope! first off, for what he WANTS to do it take more than 1 line of coding. second off, if your not gonna help, then <font size="7" color="red>SHUT THE HELL UP AND DON'T POST!</font> so quit being a prick |
In response to Lord of Water
|
|
Lord of Water wrote:
Nope! first off, for what he WANTS to do it take more than 1 line of coding. second off, if your not gonna help, then <font size=3 color=red>SHUT THE HELL UP AND DON'T POST!</font> so quit being a prick |
I just won't tell you. :P
Somthing tells me you're making a DBZ game....
*sniff* *sniff*