Jump to content

Someone help me fix that elevator in Outcast Outpost OA plz


Prethorius

Recommended Posts

ok so...

 

Switch in Outcast Outopost location:

 

(bottom)

-state=2

-actronaut=(00000000)

 

(moving up)

-state=3

-actronaut=(00000014)

 

(moving down)

-state=1

-actronaut=(00000014)

 

(stuck position)

-state=0

-actronaut=(00000014)

 

(Switch in the above location)

-clear once=1

 

looks like sometimes script enforcing state to value "0" and dont change into "1" state in result the elevator is not moving

Link to comment
Share on other sites

Ok, it looks like the "state" variable is being correctly set to 0 then, so the problem must be with "elevFlag". I've been told in the past that checking if a ref variable is pointing to the player via " == " sometimes doesn't work, so try changing "DLC02ElevSwitchAboveSCRIPT to this:

scn DLC02ElevSwitchAboveSCRIPT

; brute force script here....

;update: clear crime against DLC outcast faction the first time the player uses the elevator

short ClearOnce
ref rActionRef


Begin OnActivate

set rActionRef to GetActionRef
if rActionRef.GetIsReference player
	set DLC02LD.elevFlag to 1

	if ( ClearOnce == 0 )
		if ( DLC02OA1.OutcastsHostile == 0 )
			DLC02DefenderSibleyRef.ClearActorsFactionsPlayerEnemyFlag
			set ClearOnce to 1
		endif
	endif
	DLC02ElevAboveDoorREF.Activate player

endif

End

Cipscis

Link to comment
Share on other sites

On looking at your last post I can see that it's not the problem anyway, as the "actronaut" variable is correctly set to the player's RefID - "00000014".

 

When the elevator is stuck, I assume that you can use "PlayGroup forward 0" on it in the console to cause it to descend? What do you normally have to activate to cause it to descend?

 

Cipscis

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...