Scripts / help with scripting

Author
Message
Peri
Game Guru Backer
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location:
Posted: 10th Aug 2016 12:11
Hi guys I am very new with lua, I want to create a script for characters who will follow a path, and if the player will touch them he will die

also I want to use it with cars objects, I made some tries with the "civilian waypoint" script I have,

thanks for helpers.

MChapman
8
Years of Service
User Offline
Joined: 19th May 2015
Location: USA
Posted: 11th Aug 2016 03:54
Could you not use the built in waypoints to get the character to follow the waypoint without code and when the player gets so close start dropping the players hp?
Markchapman10 is my Skype let's have some dev talk.
Peri
Game Guru Backer
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location:
Posted: 12th Aug 2016 11:12 Edited at: 12th Aug 2016 11:13
I got some result with this code a programmer friend helped me, If you have a suggests to improve I will like to know.

Login to post a reply

Server time is: 2024-05-04 02:23:39
Your offset time is: 2024-05-04 02:23:39