[Plugin] FCNPC - Fully Controllable NPC (Russian Thread)
#49

Quote:
Originally Posted by DANGER1979
View Post
FCNPC_PlayNode(npcid, nodeid, .UseMapAndreas = true, .speed = 1.0 + frandom(1.0));
npcid будет двигаться к узлу nodeid используя Z координаты из UseMapAndreas со скоростью 1+frandom(1.0).
это всё прекрасно. ТОлько не понятно какой из приложенных узлов где находится. Проще иметь собственный массив координат и заставлять ботов двигаться по ним.
Для пешеходов ноды вполне могут сгодиться, я же не заставляю их использовать.

Quote:
Originally Posted by DANGER1979
View Post
как заставить чтобы бот четко ехал используя транспорт к координатам x,y,z?
FCNPC_GoTo

Quote:
Originally Posted by DANGER1979
View Post
FCNPC_SetVelocity(npcid, Float, Float:y, Float:z, bool:update_pos = false);
update_pos - что за параметр
Обновление положения. Так как физика ботов полностью контролируется сервером, то при установке ускорения позиция бота не обновляется, если этот параметр равен true, то позиция бота будет обновлена сервером.
Reply


Messages In This Thread
FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 16.03.2016, 12:17
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Stuntff - 16.03.2016, 13:01
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Romz - 16.03.2016, 13:15
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Untonyst - 16.03.2016, 13:23
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Bombo - 21.06.2016, 17:02
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Romz - 21.06.2016, 17:19
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 21.06.2016, 20:56
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Bombo - 22.06.2016, 22:13
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 22.06.2016, 23:32
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Bombo - 23.06.2016, 04:00
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 10.07.2016, 09:42
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 12.07.2016, 22:59
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Bombo - 12.07.2016, 23:16
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Romz - 13.07.2016, 01:01
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 13.07.2016, 09:37
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Romz - 13.07.2016, 14:36
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OmegaKiller72 - 20.07.2016, 12:00
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 20.07.2016, 14:38
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OmegaKiller72 - 20.07.2016, 16:15
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 20.07.2016, 20:01
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OmegaKiller72 - 22.07.2016, 11:47
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 27.07.2016, 17:58
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OKStyle - 27.07.2016, 20:37
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 27.07.2016, 21:37
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Imperealist - 29.07.2016, 12:11
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.07.2016, 13:41
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Imperealist - 01.08.2016, 00:50
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 01.08.2016, 16:13
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Imperealist - 01.08.2016, 23:36
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 03.08.2016, 07:04
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Bombo - 04.08.2016, 12:05
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 04.08.2016, 12:36
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 09.08.2016, 05:13
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Art4D - 20.08.2016, 04:09
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OKStyle - 20.08.2016, 08:40
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 20.08.2016, 15:20
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 26.08.2016, 15:42
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OKStyle - 28.08.2016, 12:57
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 28.08.2016, 14:48
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 28.08.2016, 17:24
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OKStyle - 29.08.2016, 15:26
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.08.2016, 21:50
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OKStyle - 30.08.2016, 14:49
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 02.09.2016, 06:35
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 18.01.2017, 13:05
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by DANGER1979 - 19.01.2017, 12:14
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by DANGER1979 - 20.01.2017, 11:52
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 22.01.2017, 09:34
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 26.03.2017, 14:51
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by DANGER1979 - 27.03.2017, 07:40
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 02.04.2017, 11:31
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 02.04.2017, 11:41
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 16.04.2017, 15:08
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Kolstin - 16.04.2017, 17:56
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 16.04.2017, 18:21
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 01.05.2017, 06:23
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 14.06.2017, 14:06
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 25.10.2017, 10:15
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Bombo - 25.10.2017, 15:56
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Romz - 19.11.2017, 19:08
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 20.11.2017, 14:50
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OKStyle - 20.11.2017, 15:29
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Romz - 21.11.2017, 01:09
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 21.11.2017, 03:27
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 05.01.2018, 13:28
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by MrStead - 21.01.2018, 10:52
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 22.01.2018, 05:07
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by MrStead - 25.01.2018, 14:46
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 25.01.2018, 15:46
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 27.01.2018, 13:38
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 27.01.2018, 21:05
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Jasno - 29.01.2018, 09:01
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 09:20
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Jasno - 29.01.2018, 09:23
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.01.2018, 10:06
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.01.2018, 17:27
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 19:06
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.01.2018, 19:10
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 19:12
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.01.2018, 19:14
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 19:20
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 19:22
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.01.2018, 19:22
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 19:25
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.01.2018, 19:26
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 19:27
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 30.01.2018, 16:14
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 31.01.2018, 11:36
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by MrStead - 02.02.2018, 14:40
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by MrStead - 03.02.2018, 05:41
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by MrStead - 06.02.2018, 14:07
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Anomis - 20.06.2018, 09:35
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 20.06.2018, 19:57

Forum Jump:


Users browsing this thread: 1 Guest(s)