Jump to content

LeaveAreaLUA and LeaveAreaLUAPanic


Recommended Posts

Probably simple question but I cannot figure it out based on IESPD.

What is difference between actions LeaveAreaLUA and LeaveAreaLUAPanic. In game code it is common to see them side by side like in this example:

IF
  True()
THEN
  RESPONSE #100
    CutSceneId(Player1)
    LeaveAreaLUAPanic("AR0700","",[2753.868],4)
    LeaveAreaLUA("AR0700","",[2753.868],4)
(cut short for brevity)

Is there any benefit from this additional action call?

And one bonus question: what is this "Parchment" attribute? It is usually blank, but sometimes it is set, in BG1 e.g. for Brage or Tazok cutscenes, however I cannot figure out what is purpose of this.

Link to comment

I have no clue if LeaveAreaLUAPanic does anything practically useful. Maybe for multiplayer? In GemRB we've had a longstanding comment about it and deliberately changed it to do almost nothing (using parchment for eventual load screen image). You mention Brage and that's one reason for it, because in his script the two calls are not together.

Link to comment

LeaveAreaLUAPanic() is only relevant for multiplayer (at least in ToB Engine). It does something different depending on whether you are hosting or not, but I didn't bother looking at the details, since I was not familiar with the multiplayer parts.

Parchment ist a MOS resref that is shown during the area transition.

Link to comment
1 hour ago, lynx said:

Thanks for the note, I've updated the IESDP descriptions to be a bit more telling.

Thanks for still maintaining this. (And greetings to the rest of the crew as well.)

I would put the parchment info to the LeaveAreaLUA() action, since I'm not sure it does anything in LeaveAreaLUAPanic() when there is no multiplayer session running.

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...