Results 1 to 3 of 3

Thread: scripting in an area with fear

  1. Default scripting in an area with fear

    is there any way to deal with scripting when monsters in the area can cast fear, causing you to bolt from teh room? it seems to throw off my script in combat.

  2. Default

    Use looks and the room descriptions to figure out what room you're in if you get a 'you can't go there' message.

  3. #3

    Default

    what I do is I have a "goback" that sees where I am and gets me to a place to run the acutal running back function. Now the "goback" is the most pain in the ass part of any script, but its the only way I've found to do it.

    so it sees where you are, and goes back to the pre-dertirmined place check your mana or your mind and if you're ok to keep hunting, then just goto the hunting part of the script, if you're good to leave, then goto the travel part.

    Example of a "goback" - This one is for The Bog in Vaalor

    GoBackStandupP:
    pause 1
    GoBackStandup:
    Match ComeBackFromHuntL You stand back up.
    Match ComeBackFromHuntL You are already standing.
    Match GoBackStandupP You are still stunned.
    Match GoBackStandupP You struggle, but fail to stand.
    put stand
    Matchwait

    ComeBackFromHuntLDP:
    pause 1
    ComeBackFromHuntLD:
    Match ComeBackFromHuntL You are now in a defensive stance.
    Match ComeBackFromHuntL Cast Round Time in effect: Setting stance to guarded.
    Match ComeBackFromHuntLDP you are still stunned
    Match ComeBackFromHuntLDP ...wait
    Put stance def
    Matchwait
    ComeBackFromHuntP:
    pause 1
    GoBackGenericSub:
    ComeBackFromHuntL:
    put Look
    ComeBackFromHunt:
    Save GoBack
    Match GenericUndisease !D>
    Match GenericUnLeech You feel something slimy on you, and glance down to notice a large slimy leech attached to your skin. Eww!
    Match GenericUnLeech You feel a bit weaker as a large slimy leech draws the blood from your body.
    Match RestingMana [Ta'Vaalor, Amaranth Court]
    Match GoBackToFrom [Fethayl Bog, Marsh Edge]
    Match GoBackGoNEWait [Fethayl Bog, Mudpit]
    Match GoBackGoW [Fethayl Bog, Muddy Slough]
    Match GoBackGoMud [Fethayl Bog, Fallen Tree]
    Match GoBackGoWWait [Fethayl Bog, Ruined Shrine]
    Match GoBackGoNEWait [Fethayl Bog, Sunken Mausoleum]
    Match GoBackGoNEWait [Fethayl Bog, Boneyard]
    Match GoBackGoWWait [Fethayl Bog, Caretaker's Hovel]
    Match GoBackGoOWait [Fethayl Bog, Inside the Hovel]
    Match GoBackGoNWWait [Fethayl Bog, Trail]
    Match GoBackGoNWait [Fethayl Bog, Grove]
    Match GoBackGoSEWait [Fethayl Bog, Bone Pile]
    Match GoBackGoNWait [Fethayl Bog, Cypress Grove]
    Match GoBackGoNWWait [Fethayl Bog, Hillock]
    Match GoBackGoNWait [Fethayl Bog, Pools]
    Match GoBackGoNWWait [Fethayl Bog, Ivory Pillar]
    Match GoBackGoDWait [Fethayl Bog, Lone Grave]
    Match GoBackGoSWWait [Fethayl Bog, Corroded Statue]
    Match GoBackGoWWait [Fethayl Bog, Spider's Nest]
    Match GoBackGoSWWait [Fethayl Bog, Dead End]
    Match GoBackGoWWait [Fethayl Bog, Meadowland]
    Match GoBackGoUWait [Fethayl Bog, Underground Crypt]
    Match GoBackFethaylBog [Fethayl Bog]
    Match GenericStandup You don't seem to be able to move to do that.
    Match GenericStandup You can't do that while laying down.
    Match GenericStandup You must be standing to do that.
    Match GenericStandup You are still stunned.
    Match ComeBackFromHuntP ...wait
    Matchwait

    GoBackFethaylBog:
    Match GoBackGONW Obvious paths: east, west, northwest, southwest
    Match GOBackGoW Obvious paths: south, east, west, southeast
    Match GoBackGoNW Obvious paths: east, northwest, southeast
    Match GoBackGoNW Obvious paths: north, east, northwest, southwest
    Match GoBackGONW Obvious paths: north, east, northwest
    Match GoBackGOW Obvious paths: west, northeast, southeast
    Match GoBackGOW Obvious paths: west, southeast
    Match GoBackGOE Obvious paths: south, east
    Match GoBackGOS Obvious paths: south
    Match GoBackGOW Obvious paths: west
    Matchwait

    GoBackGoNWait:
    waitfor Obvious
    GoBackGoN:
    put north
    goto ComeBackFromHunt
    GoBackGoSWait:
    waitfor Obvious
    GoBackGoS:
    put south
    goto ComeBackFromHunt
    GoBackGoEWait:
    waitfor Obvious
    GoBackGoE:
    put east
    goto ComeBackFromHunt
    GoBackGoWWait:
    waitfor Obvious
    GoBackGoW:
    put west
    goto ComeBackFromHunt
    GoBackGoNEWait:
    waitfor Obvious
    GoBackGoNE:
    put northeast
    goto ComeBackFromHunt
    GoBackGoNWWait:
    waitfor Obvious
    GoBackGoNW:
    put northwest
    goto ComeBackFromHunt
    GoBackGoSEWait:
    waitfor Obvious
    GoBackGoSE:
    put southeast
    goto ComeBackFromHunt
    GoBackGoSWWait:
    waitfor Obvious
    GoBackGoSW:
    put southwest
    goto ComeBackFromHunt
    GoBackGoDWait:
    waitfor Obvious
    GoBackGoD:
    put down
    goto ComeBackFromHunt
    GoBackGoUWait:
    waitfor Obvious
    GoBackGoU:
    put up
    goto ComeBackFromHunt
    GoBackGoOWait:
    waitfor Obvious
    GoBackGoO:
    put out
    goto ComeBackFromHunt
    GoBackGoMudWait:
    waitfor Obvious
    GoBackGoMud:
    put Go Mud
    goto ComeBackFromHunt

    GoBackToFrom:
    Goto MoveRoomToFrom134



    [Edited on 8/4/2004 by Deathravin]
    Discord: Valendr0s#6885

Similar Threads

  1. Fear the VAT
    By ClydeR in forum Politics
    Replies: 0
    Last Post: 12-30-2015, 09:08 PM
  2. What You Should Fear
    By ClydeR in forum Politics
    Replies: 8
    Last Post: 02-04-2015, 09:37 AM
  3. necklaces for greater rift area...fear
    By Radom in forum Wanted
    Replies: 2
    Last Post: 05-02-2010, 12:28 AM
  4. Fear of Girls
    By Vesi in forum Off-Topic
    Replies: 7
    Last Post: 01-04-2009, 09:34 AM
  5. I Fear Nothing
    By Bobmuhthol in forum General Gemstone
    Replies: 4
    Last Post: 02-18-2004, 09:04 AM

Posting Permissions

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