This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Making a new follow command ?  (Read 1489 times)

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
[QUESTION] Making a new follow command ?
« on: January 22, 2014, 03:05:45 am »
making a follow command for trinity that make any number of npc follow you and fight for you and still follow you to death The Best Army :D
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Making a new follow command ?
« Reply #1 on: January 22, 2014, 03:42:42 am »
Yas.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: [QUESTION] Making a new follow command ?
« Reply #2 on: January 22, 2014, 07:00:27 am »
Quote from: "schlumpf"
Yas.

is there a way to make a command like the follow command that make an npc follow you but the original command when the npc fight and after fighting he don't follow you anymore
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Making a new follow command ?
« Reply #3 on: January 22, 2014, 09:26:46 am »
Of course.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: [QUESTION] Making a new follow command ?
« Reply #4 on: January 22, 2014, 08:37:59 pm »
Quote from: "schlumpf"
Of course.

ok how  :x
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] Making a new follow command ?
« Reply #5 on: January 23, 2014, 12:49:55 am »
Quote from: "raeef"
Quote from: "schlumpf"
Of course.

ok how  :x

By extending the creature AI class to handle what you want, and then implementing methods in order to invoke the methods in this new class you have created.

By programming.

This has been done before with players rather than creatures (similar) and was called 'Player Bots' (see my video:  ), however I have no idea how you would go about obtaining this source code any more. It was too long ago.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: [QUESTION] Making a new follow command ?
« Reply #6 on: January 23, 2014, 02:29:37 am »
Quote from: "stoneharry"
Quote from: "raeef"
Quote from: "schlumpf"
Of course.

ok how  :x

By extending the creature AI class to handle what you want, and then implementing methods in order to invoke the methods in this new class you have created.

By programming.

This has been done before with players rather than creatures (similar) and was called 'Player Bots' (see my video:  ), however I have no idea how you would go about obtaining this source code any more. It was too long ago.

I know player bots but if I wanna do a raid cant do by only 10 and thx for the reply
« Last Edit: January 01, 1970, 01:00:00 am by Admin »