Search Unity

Question How to work with Documentation for scripting?

Discussion in 'Navigation' started by SkaarjLeader, Mar 19, 2024.

  1. SkaarjLeader

    SkaarjLeader

    Joined:
    Oct 24, 2022
    Posts:
    10
    I need Dota 2 like script for mobs. Do I search in Scripting reference or other one? I need 1. Spawn characters (mobs) every 30sec 2. Move after spawn same everytime (I think with patrol points exept middle straight line 3. Change and attack when in range. 4. Have health and stats

    Spawn is called Instantiate? I use this?
    I searched "Patrol path" in Documentation but theres nothing. Only patrol in very old Unity version doc. How do I make variables where I put patrol points?
    How is called what changes action?
    How is called attack?
    For health and stats I use variables and ready assets would be easier?