Results 1 to 3 of 3

Thread: Death detection while walking SPS

  1. #1
    Join Date
    Feb 2009
    Posts
    484
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Death detection while walking SPS

    While SPS_WalkPath() is running, is it possible to detect if you die during the walking process?

    Or would I have to make a SPS_WalkPath() for every point and just have it check in between.

  2. #2
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I think currently, once you begin walking a path SPS would continue trying to walk if you suddenly died.

    I know that if you get a random while walking it could lead to death, as it happened to someone crafting Astrals.

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  3. #3
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Just copy the SPS_WalkPath function and throw in a "death detector" inside your modified version.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •