fodev.net

FOnline Development => General Discussion => Topic started by: Johnnyrico on October 17, 2012, 04:55:45 pm

Title: solved
Post by: Johnnyrico on October 17, 2012, 04:55:45 pm
thanks JovankaB!
Title: Re: how to set NPC/Critter active attack people ?
Post by: Johnnyrico on October 18, 2012, 04:25:47 pm
i just want to know how to set npc attack people automatically,,, come on!! please!!!!!
Title: Re: how to set NPC/Critter active attack people ?no one can tell me?? come on!!
Post by: Surf on October 18, 2012, 04:30:34 pm
(http://www.abload.de/img/ghylhj.png)

You have to write that in the func/scriptnames.
Title: Re: how to set NPC/Critter active attack people ?no one can tell me?? come on!!
Post by: Johnnyrico on October 18, 2012, 04:33:02 pm
yes, i tried it already, but it doesnt work,, those NPCs are standing like stone.. and sometimes i cant shoot them, i must push them first before i attack,  can u teach me more please?  thank you so much!
Title: Re: how to set NPC/Critter active attack people ?no one can tell me?? come on!!
Post by: Surf on October 18, 2012, 04:39:12 pm
The text in there is case sensitive, beware. so you have to write _MobInit instead of _mobinit for example.

It should work this way. The only thing you could have made different is that there is some incorrect number in the Team ID perhaps? Or, the critter you have chosen lacks the animations for the gun you gave it (if you gave it a gun?)
Title: Re: how to set NPC/Critter active attack people ?no one can tell me?? come on!!
Post by: Johnnyrico on October 18, 2012, 04:43:49 pm
The text in there is case sensitive, beware. so you have to write _MobInit instead of _mobinit for example.

It should work this way. The only thing you could have made different is that there is some incorrect number in the Team ID perhaps? Or, the critter you have chosen lacks the animations for the gun you gave it (if you gave it a gun?)


for example, you select a critter number 120, Mutant npc,usually what BAG ID , team ID , NPC_Role , AI  u will give to him?
Title: Re: how to set NPC/Critter active attack people ?no one can tell me?? come on!!
Post by: Johnnyrico on October 18, 2012, 05:32:07 pm
The text in there is case sensitive, beware. so you have to write _MobInit instead of _mobinit for example.

It should work this way. The only thing you could have made different is that there is some incorrect number in the Team ID perhaps? Or, the critter you have chosen lacks the animations for the gun you gave it (if you gave it a gun?)

Hi Surf:

i have another question to ask you...

how to fix player sight blocking, i mean, player or npc shouldnt see what things behind the wall.  right now my problem is i can see everything within my sight, even NPC behind wall , how to fix it ?

thanks.!!
Title: Re: how to set NPC/Critter active attack people ?no one can tell me?? come on!!
Post by: fonliner on October 18, 2012, 06:50:30 pm
Hi Surf:

i have another question to ask you...

how to fix player sight blocking, i mean, player or npc shouldnt see what things behind the wall.  right now my problem is i can see everything within my sight, even NPC behind wall , how to fix it ?

thanks.!!

I said wha you should do in your first topic.