Jump to content

I just don't get it


AlexxEG

Recommended Posts

Why wont this work?

 

scn 00PSGrowerShackSCRIPT

short Button

begin onActivate
if PSHaveBeenInside == 0
	set PSHaveBeenInside to 1
	activate
else
	ShowMessage 00PSShackMESG
endif
end

begin GameMode

	set Button to GetButtonPressed

if ( Button == 0 )
	PSNotPlayerREF.disable
	PSIsPlayerREF.enable
	imod 269c4
elseif ( Button == 1 )
	Activate
elseif ( Button == 2 )
	;Do Nothing
endif
end

 

It suppose to rebuild the house called "ShackGrower" in GECK to a player home, but the stuff that are there from start, wont disable :S I used a XMarker. "PSHaveBeenInside" is a global VAR that set to one when you enter the door, so it make sure you already been inside befor you rebuild. The script is attached to the door

 

EDIT: I use Pacth 1.5 with Master Update

Link to comment
Share on other sites

  • Recently Browsing   0 members

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