1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question about AITypes in creature scripts

Discussion in 'Script Support' started by gimmeAlighter, Mar 4, 2013.

  1. gimmeAlighter
    Offline

    gimmeAlighter New Member

    Joined:
    Mar 3, 2013
    Messages:
    18
    Likes Received:
    0
    When I look through creature scripts I see this:
    Code (C#):
    1. : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
    My question is, what do the numbers mean??
     
  2. gimmeAlighter
    Offline

    gimmeAlighter New Member

    Joined:
    Mar 3, 2013
    Messages:
    18
    Likes Received:
    0
    answer is in basecreature (thanks HandsOfGod)

    int iRangePerception
    int iRangeFight
    double DActiveSpeed
    double DPassiveSpeed
     
  3. Insanity
    Offline

    Insanity Active Member

    Joined:
    Mar 2, 2013
    Messages:
    276
    Likes Received:
    61
    If you mouse over them in visual studio, it will help you understand the usages next time.

    Sent from my Droid Razr
     
  4. gimmeAlighter
    Offline

    gimmeAlighter New Member

    Joined:
    Mar 3, 2013
    Messages:
    18
    Likes Received:
    0
    Thanks for the tip Insanity
     
Similar Threads: Question AITypes
Forum Title Date
General Discussion Question about Clilocs Aug 6, 2017
New Join Forum Huge newbie, already have questions! Aug 5, 2017
Script Support Guild System Question Aug 5, 2017
General Discussion Returning to my shard, have a couple questions. Jul 15, 2017
General Discussion Greetings and A question... Jul 9, 2017
Script Support Question Jul 5, 2017
Script Support Quick Question Regarding BaseCreature.cs Jun 15, 2017