San_enter_combat

Discussion in 'General Modification' started by Shiningted, Oct 11, 2005.

Remove all ads!
  1. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    Does san_start_combat fire on the round the NPC goes into combat, or just san_enter_combat, or both?
     
  2. Cerulean the Blue

    Cerulean the Blue Blue Meanie Veteran

    Joined:
    Apr 23, 2005
    Messages:
    1,962
    Likes Received:
    0
    From the definitions in the scripts, one of themsan_enter_combat seems to fire only once on the first round the NPC is in combat. San_start_combat seems to fire every round on the NPC's turn. Mind, I haven't tested this, but it makes sense from looking at the scripts.

    Edit: I just spoke with Agetian. He confirmed my thoughts on this, at least as far as Arcanum is concerned.
     
    Last edited: Oct 12, 2005
  3. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    Yeah I agree, BUT, does san_start_combat fire that first round when san_enter_combat does?
     
  4. Cerulean the Blue

    Cerulean the Blue Blue Meanie Veteran

    Joined:
    Apr 23, 2005
    Messages:
    1,962
    Likes Received:
    0
    Here is what Agetian told me:

    From this I would say that in the first round of combat, on the NPCs turn, san_start_combat would fire first, then san_enter_combat, then every round thereafter san_start_combat would fire.

    Edit: Actually, I think san_enter_combat fires when combat mode is entered, no matter who gets initiative.
     
    Last edited: Oct 12, 2005
  5. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    Ok that sux but I guess I'll wear it :)
     
  6. Cerulean the Blue

    Cerulean the Blue Blue Meanie Veteran

    Joined:
    Apr 23, 2005
    Messages:
    1,962
    Likes Received:
    0
    I changed my mind Ted. Read the edit to my post. Btw, what did you have in mind for this question.
     
  7. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    Interesting... would be nice to harnass that 'kick-in animation' - imagine in the midst of negotiations the monsters went into combat pose while still dialoguing - now THATS using intimidate!
     
  8. Cerulean the Blue

    Cerulean the Blue Blue Meanie Veteran

    Joined:
    Apr 23, 2005
    Messages:
    1,962
    Likes Received:
    0
    That would be interesting. It's that "and targets foe" line that's got me. I can recall times when NPCs have been in the combat order up top but didn't assume combat poses until there turn came up. I doesn't happen often, but it has happened.
     
  9. krunch

    krunch moving on in life

    Joined:
    Aug 9, 2005
    Messages:
    3,280
    Likes Received:
    0
    I have seen what Blue describes many times, not just a few.
     
  10. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    K thanks guys.
     
  11. Croix

    Croix Member

    Joined:
    Jul 17, 2005
    Messages:
    37
    Likes Received:
    0
    This might have nothing to do with what your talking about, but I have noticed that right after I exit Burne/Rufus's castle and scroll over to the worksite to see if the informant is there for the mission Burne gives you.............he is in a combat stance if there. Though, by the time I get to him he is back to his casual/limp state. Sorry to interrupt your discussion. Carry on
     
  12. Cujo

    Cujo Mad Hatter Veteran

    Joined:
    Apr 4, 2005
    Messages:
    3,636
    Likes Received:
    1
    thats just the "not doing anything animation" - default stance when not animated - like the model in character creation.
     
  13. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    What he said. On big maps like the Hommlet map, only the sector u r in animates, the rest stand around. Saves computing power.
     
Our Host!