Jump to content

THe plant script. Re-Harvestable?


ObLars

Recommended Posts

Hello. Im wondering if the various plants throughout the mojave re-grows after a certain time has past? This is the Jalapeno script;

 

scn JalapenoScript

int State


begin onActivate
if State == 0 && GetActionRef == player
	player.additem JalapenoPepper 2
	set State to 1
	playGroup Forward 1
	setdestroyed 1
endif
end

begin onLoad
if State == 0
	playGroup Backward 1
elseif State == 1
	playGroup Forward 1		
endif
end

begin onReset
if State == 1
	playgroup Backward 1
	set State to 0
	setdestroyed 0
endif
end

 

Does this script "Refresh" the plant after a certain time?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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