darkmanz5
|
  |
| Joined: 21 Dec 2010 |
| Total Posts: 126 |
|
|
| 15 Nov 2015 05:47 AM |
Alright so, I'm probably going to explain this horribly yet, I do wish that you guys could give me an anwser for this, all I wish to know is.. Is this possible?
So what I'm trying to achieve is that.. You got this NPC (A monster) which has it's goal to attack a certain object (I know how to do this). Yet when this NPC (Monster) gets within ... studs to a player he changes it's path to attempt and kill this player.
Now, I'm wondering if this's possible, if yet, which functions would I have to use to make it work? (That just so it's easier for me to do research on those functions).
Hope to get a honest anwser, and no trolls. Please. |
|
|
| Report Abuse |
|
|
darkmanz5
|
  |
| Joined: 21 Dec 2010 |
| Total Posts: 126 |
|
| |
|
darkmanz5
|
  |
| Joined: 21 Dec 2010 |
| Total Posts: 126 |
|
| |
|
darkmanz5
|
  |
| Joined: 21 Dec 2010 |
| Total Posts: 126 |
|
| |
|
|
| 15 Nov 2015 08:56 AM |
It's possible, yes.
~~Head of Moderation and Application at F3X~~ |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2015 09:13 AM |
| When you create a path, it'll return it's length if you ask nicely. :p |
|
|
| Report Abuse |
|
|
darkmanz5
|
  |
| Joined: 21 Dec 2010 |
| Total Posts: 126 |
|
|
| 15 Nov 2015 09:20 AM |
| Is it possible that you could explain me how I could do this? Or give me a link to a site that explains it? |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2015 09:24 AM |
I'm not sure if you can actual return the length of the path.
If you find a path to each player, then count the points to get there, and if any are short enough, you could pursue it? |
|
|
| Report Abuse |
|
|
darkmanz5
|
  |
| Joined: 21 Dec 2010 |
| Total Posts: 126 |
|
|
| 15 Nov 2015 09:31 AM |
| Hmm.. I see, will give it a try. Thanks. |
|
|
| Report Abuse |
|
|
Dogejia
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 1873 |
|
|
| 15 Nov 2015 09:49 AM |
You can use Region3 or magnitude :)
Dogemon, gotta pet them all! |
|
|
| Report Abuse |
|
|
darkmanz5
|
  |
| Joined: 21 Dec 2010 |
| Total Posts: 126 |
|
|
| 15 Nov 2015 09:54 AM |
| Aha.. Looks like this's going to be even harder then I though. |
|
|
| Report Abuse |
|
|