ID:1137030
Jan 23 2013, 11:18 pm (Edited on Jan 23 2013, 11:44 pm)
(See the best response by Gokussj99.)
|
|
Edit:Am trying to seek help on making a Npc notice that a player is knockout/death and will not attack that person.
|
Jan 23 2013, 11:28 pm
|
|
We can't help unless you show us your AI code. We need to know how you're actually carrying out the AI process. It's kind of like asking someone for help with starting your car and showing them your car keys, when in fact you have to show them the engine of the car.
|
LexLuther wrote:
Edit:Am trying to seek help on making a Npc notice that a player is knockout/death and will not attack that person. We can't see your code but..its pretty simple depending on how you do things.. something like if(M.unconscious) { return } or if(M.dead) { return } ? ? |
Thanks for help i was using if(M.dead) [return] but i was placing it in wrong location.
|
There is also libraries that can give you direction, when using your vars and returns make sure you remember which one checks death/unconscious or not.
Also posting your code would help us to resolve your problem faster. |
In response to Carnage Productions
|
|
Where do libraries come into this post? sorry not sure why you even posted...
[EDIT] in my sleepy haze I've written about direction ... |
In response to A.T.H.K
|
|
He didn't mean
var/direction = library_proc()
"give you direction" is like "point you to the right path" |
In response to Jemai1
|
|
Yes I understand that completely.
Still libraries shouldn't of even been mentioned, it's a simple death check. |
In response to A.T.H.K
|
|
Perhaps he meant demos instead of libraries.
|