Script flags

Discussion in 'Modding and Scripting Support' started by Loner, Nov 23, 2009.

Remove all ads!
Support Terra-Arcanum:

GOG.com

PayPal - The safer, easier way to pay online!
  1. Loner

    Loner New Member

    Messages:
    7
    Likes Received:
    0
    Joined:
    Nov 17, 2009
    Welcome!

    New problem:
    In script properties of script editor (file->properties) is following flags: trap non-magical, trap magical, auto-remove, death speak, surrend speak, radius two, radius three, radius five, teleport trigger.

    How use that?

    Flag 'death speak' helped me for dialog with ghost. Flags 'trap non-magical', 'trap magical', 'auto-remove' and radiuses are described in 'EditDoc' for all kind of traps.

    For what is flags: 'teleport trigger' and 'surrend speak'?

    Best regards.
     
  2. Loner

    Loner New Member

    Messages:
    7
    Likes Received:
    0
    Joined:
    Nov 17, 2009
    O. K. Maybe my English language is not good as I think :???: .

    The problem is that flags:
    [​IMG]

    Any idea where I find description this flags?
     
  3. rroyo

    rroyo Active Member

    Messages:
    3,319
    Likes Received:
    0
    Joined:
    Oct 13, 2006
    Sorry Loner, didn't mean to overlook you.

    Although I have no idea where to find an all-in-one description for these - even the search function wasn't much help - I'll try to answer your question even though I haven't used most of them.

    The check boxes help to tell the game engine that if a certain condition is met, this is the type of script to use.
    (That's a really lame description....)

    Non-Magical trap: Used when you've created a script to do more damage or play an effect around a mechanical trap.

    Magical trap: Used when you've created a script to do more damage or play an effect around a magical trap.

    Auto-removing: Used when you make a one-time use script. For example - The PC walks through a gate for the first time and a NPC calls out a greeting. A tile-script with an auto-removing script attached would be placed at the gate. When the PC steps on it, the placed script activates, calls upon another script attached to the NPC, then shuts down, and does not activate again regardless of how many times it is stepped on.

    Death speech - You've already figured out.

    Surrender speech - Works the same way as death-speech. After a combatant has surrendered, a specific block of dialog becomes available.

    Radius two, three, and five: These are supposed to set a radius around the attachee in tile in which the script automatically activates.
    For example - Attaching a radius five script to a guard in a corridor would have him call out a first warning when the PC is five tiles away. Add a second warning for three tiles (two steps closer), then a final one for two tiles.
    (I've never been able to get these to work properly.)

    Teleport trigger: Use this when the script is all or mostly just a teleporting script. Additional sound or visual effects are acceptable, but it's mostly just get the triggerer from one point to another.

    Hope this helps.
     
  4. Loner

    Loner New Member

    Messages:
    7
    Likes Received:
    0
    Joined:
    Nov 17, 2009
    Yes !!! This is very helpfull description. Thank you rroyo.

    Best regards.
     
Our Host!