Cutscene not starting

Started by Rabain, February 11, 2007, 01:03:50 AM

Previous topic - Next topic

devSin

Yes, the override script is the only one that isn't cleared when the character joins. This will also be the only slot that gets converted when moving to ToB.

HERD

QuoteI was under the impression that the personal script you assign to the cre when you create it or at install (as some do now) should stay on the npc throughout its life in SoA.
Only if it's its OVERRIDE script. Other scripts may be replaced on joining the party (I'm 100% sure about CLASS and DEFAULT scripts.)

As for your cutscene, I'd try sort of

IF
     True()
THEN
RESPONSE #100
     CutSceneId(Player1)
     Wait(1)
     MoveToPoint([1512.1354])
     ActionOverride(PLAYER2,MoveToPoint([1450.1352]))
     ActionOverride(PLAYER3,MoveToPoint([1473.1294]))
     ActionOverride(PLAYER4,MoveToPoint([1416.1313]))
     ActionOverride(PLAYER5,MoveToPoint([1443.1254]))
     ActionOverride(PLAYER6,MoveToPoint([1391.1271]))
     FadeToColor([20.0],0)
     ActionOverride(PLAYER2,LeaveAreaLUA("AR2200","",[4430.930],14))
     ActionOverride(PLAYER3,LeaveAreaLUA("AR2200","",[4430.930],14))
     ActionOverride(PLAYER4,LeaveAreaLUA("AR2200","",[4430.930],14))
     ActionOverride(PLAYER5,LeaveAreaLUA("AR2200","",[4430.930],14))
     ActionOverride(PLAYER6,LeaveAreaLUA("AR2200","",[4430.930],14))
     Wait(1)
     LeaveAreaLUA("AR2200","",[4600.1100],14)
     Wait(1)
     FadeFromColor([20.0],0)
     ActionOverride("bwtouchx",MoveToPoint([4640.1080]))
     ActionOverride("DADROW18",StartDialogueNoSet(Player1))
     EndCutSceneMode()
END

I believe having CutSceneId(Player1) is always safe.

Razfallow


IF
True()
THEN
RESPONSE #100
CutSceneId(Player1)
Wait(1)
MoveToPoint([1512.1354])
ActionOverride(PLAYER2,MoveToPoint([1450.1352]))
ActionOverride(PLAYER3,MoveToPoint([1473.1294]))
ActionOverride(PLAYER4,MoveToPoint([1416.1313]))
ActionOverride(PLAYER5,MoveToPoint([1443.1254]))
ActionOverride(PLAYER6,MoveToPoint([1391.1271]))
FadeToColor([20.0],0)
Wait(1)
ActionOverride("bwtouchx",DestroySelf()) // 1)
LeaveAreaLUA("AR2200","",[4600.1100],14)
ActionOverride(PLAYER2,LeaveAreaLUA("AR2200","",[4430.930],14))
ActionOverride(PLAYER3,LeaveAreaLUA("AR2200","",[4430.930],14))
ActionOverride(PLAYER4,LeaveAreaLUA("AR2200","",[4430.930],14))
ActionOverride(PLAYER5,LeaveAreaLUA("AR2200","",[4430.930],14))
ActionOverride(PLAYER6,LeaveAreaLUA("AR2200","",[4430.930],14))
CreateCreature("bwtouchx",[4430.930],14) // 2)
Wait(1)
FadeFromColor([20.0],0)
ActionOverride("bwtouchx",MoveToPoint([4640.1080]))
ActionOverride("DADROW18",StartDialogueNoSet(Player1))
EndCutSceneMode()
END


1) Use this line when creature with DV "bwtouchx" should move to area "AR2200" or shouldn't be present in area where cutscene start any more.
I believe that LeaveAreaLUA works only for party members (at least it didn't work for me), so you can't use it for "bwtouchx".

2) Use this line when creature with DV "bwtouchx" doesn't already exist in area "AR2200". Don't forget to change coordinates where you want him to be.

Rabain

bwtouchx is the DV of the ex-party member who joins the party before all of them move to AR2200.

The problem was that his script was not running after he joined the party and the cutscene did not start at all.  Mainly because I had his script in the Default slot and it was overwritten by DPlayer2 script when he left the party.  

I've move his script to the Override slot on the cre file and all is well with the world again!

Thanks everyone for your time! :)

Quick Reply

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:
Shortcuts: ALT+S post or ALT+P preview