City of Arabel
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    iSpawnInStealth not working?

    Scheduled Pinned Locked Moved Closed Bugs
    6 Posts 3 Posters 253 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SpiffyMeisterS
      SpiffyMeister
      last edited by

      Certain creatures aren't being spawned in stealth. Can it be looked at?

      Puffy's bumbling Scum-goblin minion.

      1 Reply Last reply Reply Quote
      • SpiffyMeisterS
        SpiffyMeister
        last edited by

        iSpawnInStealth

        Is the variable. If I am not typing it correctly that'd be the easiest fix.

        Puffy's bumbling Scum-goblin minion.

        1 Reply Last reply Reply Quote
        • ZoolZ
          Zool
          last edited by

          It might be an old variable from before ai changes.

          I know I put something in to automatically spawn things in stealth which had "high" stealth anyway, regardless if said variable (it also gave them HiPS temporarily in case they spawned in visual range) but that was so long ago, and our skill levels are probably way lower now so it probably never triggers.

          Anyway, needs someone to search the scripts for the var and see if it does. Anything anymore (even if it does, the rest of the AI might bring them out of stealth after that, dunno, AI is mad complex)

          > !!!MOLES for the MOLE GOD!!!

          1 Reply Last reply Reply Quote
          • EchoE
            Echo
            last edited by

            @spiffymeister said in iSpawnInStealth not working?:

            iSpawnInStealth

            This variable doesnt show up in any current script.

            "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

            1 Reply Last reply Reply Quote
            • ZoolZ
              Zool
              last edited by

              May be called something else, there was some kind of stealth related variable at some time.

              Maybe it got entirely removed when the AI was modded to automatically (often, but not always) spawn creatures who have "good" stealth, to just spawn stealthed. But I dunno, it was a long ass time ago.

              > !!!MOLES for the MOLE GOD!!!

              1 Reply Last reply Reply Quote
              • EchoE
                Echo
                last edited by Echo

                Just did a quick search.
                there's some stuff in sc_spawn7 that is commented out

                    //SetSpawnInCondition(NW_FLAG_STEALTH);
                    // If the NPC has stealth and they are a rogue go into stealth mode
                

                There is sooooo many AI scripts that seem to be overlapping and duplicating each other.
                Honestly the whole system probably needs to be scrapped and redone but idk who has the time to take on a project that big right now. Maybe after Deth & I retire from our jobs in a few years?

                "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

                1 Reply Last reply Reply Quote
                • EchoE Echo moved this topic from Bug Reports on
                • 1 / 1
                • First post
                  Last post