Author Topic: I've got another question.  (Read 1547 times)

Offline V. Lokai

  • Doom Cookie
  • Planewalker
  • *****
  • Posts: 49
  • Gender: Female
    • BGII NPC - Sudar
I've got another question.
« on: July 26, 2004, 02:40:26 AM »
If this has already been covered somewhere then forgive me. I can't do a search for it because I'm not entirely sure what I'd search for.

But I need to be able to get an npc to move the party to another area. IE, Realis send the party back to the inn's basement. She does that using a cutscene, but I need to know how to get the cutscene to start.
« Last Edit: July 26, 2004, 04:20:20 AM by V. Lokai »
When All Else Fails, Play Dead

Offline cliffette

  • Timmins Tragic
  • Planewalker
  • *****
  • Posts: 547
  • Gender: Female
  • I still like Neighbours
Re: I've got another question.
« Reply #1 on: July 26, 2004, 02:57:58 AM »
You'd use

ClearAllActions()
StartCutSceneMode()      // GUI disappears
StartCutScene("Name_of_cutscene_script")


For your cutscene script, you need one of these blocks per player/character
IF
   True()
THEN RESPONSE #100
   CutSceneID(Player1)     // so player1 controls this block. Keep the major actions in Player1's block as player1 is always present
   FadeToColor([20.0],0)  // This makes the screen go black
   Wait(2)
//   action list
   FadeFromColor([20.0],0) // The screen goes back to normal
   EndCutSceneMode()       // GUI reappears
END



But if you're moving players from one area to another, you can just use

StartCutSceneMode()
FadeToColor([20.0],0)
Wait(2)
ActionOverride(Player1,LeaveAreaLUA(S:Area*,S:Parchment*,P:Point*,I:Face*))  // Note that the Parchment value should just be left empty, ie leave it as ""
ActionOverride(Player2,LeaveAreaLUA(S:Area*,S:Parchment*,P:Point*,I:Face*))
ActionOverride(Player3,LeaveAreaLUA(S:Area*,S:Parchment*,P:Point*,I:Face*))
ActionOverride(Player4,LeaveAreaLUA(S:Area*,S:Parchment*,P:Point*,I:Face*))
ActionOverride(Player5,LeaveAreaLUA(S:Area*,S:Parchment*,P:Point*,I:Face*))
ActionOverride(Player6,LeaveAreaLUA(S:Area*,S:Parchment*,P:Point*,I:Face*))
MoveBetweenAreas(S:Area*,P:Location*,I:Face*)  // this one's for Raelis or any non-party NPC
FadeFromColor([20.0],0)
EndCutSceneMode()

This way you don't need a separate cutscene script, but I'm not sure if this method is recommended. :)

Offline V. Lokai

  • Doom Cookie
  • Planewalker
  • *****
  • Posts: 49
  • Gender: Female
    • BGII NPC - Sudar
Re: I've got another question.
« Reply #2 on: July 26, 2004, 04:24:41 AM »

ClearAllActions()
StartCutSceneMode()      // GUI disappears
StartCutScene("Name_of_cutscene_script")


So if I want the move to happen after a certain line in a dialog, where does this need to go?
When All Else Fails, Play Dead

Offline cliffette

  • Timmins Tragic
  • Planewalker
  • *****
  • Posts: 547
  • Gender: Female
  • I still like Neighbours
Re: I've got another question.
« Reply #3 on: July 26, 2004, 04:54:50 AM »
It would go something like this:

SAY ~Let us go now.~
IF ~~ THEN DO ~ClearAllActions()
StartCutSceneMode()
StartCutScene("Port")~ EXIT
END

Offline V. Lokai

  • Doom Cookie
  • Planewalker
  • *****
  • Posts: 49
  • Gender: Female
    • BGII NPC - Sudar
Re: I've got another question.
« Reply #4 on: July 26, 2004, 03:02:55 PM »
Ok thanks alot.   :)
When All Else Fails, Play Dead

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: