Here is the script as is:
scn PGMQ4TestStartTrigScript ;The players controls are disabled earlier in a previous script, and they are moved then as well, thus triggering this script.Short StageShort DoorsOpenFloat FposFloat Fpos2Float TimerBegin GameMode If Timer > 0 Set Timer to Timer - GetSecondsPassed ElseIf Stage == 1 ;Set to one by the other script ;Bishop message 1, this is will be the audio the player hears Set Stage to 2 Set Timer to 1 ElseIf Stage == 2 Set DoorsOpen to 1 ;after the audio, the doors ahead should slide sideways Set Stage to 3 Set Timer to 6 ElseIf Stage == 3 SetStage PGMQ3 47 ; this quest is ended Set DoorsOpen to 0 ; the doors stop sliding Set Stage to 4 SetStage PGMQ4 1 ; this quest is started EnablePlayerControls 1 0 0 0 1 0 0 ; partial controls are re-enabled EndIf If DoorsOpen == 1 ; this should slide each door open away from eachother, but for some reason they dont move at all Set fPos to PGMQ4Test1GlassDoor1Ref.Getpos Y - (24 * GetSecondsPassed) PGMQ4Test1GlassDoor1Ref.SetPos Y fPos Set fPos2 to PGMQ4Test1GlassDoor2Ref.Getpos Y + (24 * GetSecondsPassed) PGMQ4Test1GlassDoor2Ref.SetPos Y fPos2 EndIfEnd
There it is, commented out with the issues. Can anyone help me? This all happens, (the script is being executed) and then controls are enabled, then PGMQ3 is ended and it starts saying "QUEST COMPLETE, FINDING BISHOP" but once its about fully faded in, the game freezes, then CTD's. Also, the two glass panes (doors) dont slide or move at all. This script is attached to a trigger thats placed just above the player, just so its on a loaded object. I also tried making it end the quest sooner, then add the other, incase doing both at once crashed it or something, but it still froze. Thanks for any help.