Jump to content

Recommended Posts

Posted (edited)

My understanding is to make a quest and quest script with variable declared in it.

scn myquest

int vsplayersitting

and then in another script

set myquest.vsplayersitting to 1

However, this script only saves when I comment out the quest variable lines.

ScriptName vsParkerBoothThreeTGR

short doOnce

Begin OnTrigger Player

	if ( doOnce == 0 )
		if (Player.IsCurrentFurnitureRef vsJOEBooth01REF == 1)

			if (player.GetSitting == 3)
				set vsParkersServiceScript.vsPlayerSitting to 1			;Quest Variable
				setObjectiveCompleted vsPrimm02 30 1
				

			elseif (player.GetSitting == 4)
				set vsParkersServiceScript.vsPlayerSitting to 0		;Quest Variable
				set doOnce to 1

			endif
		endif
	endif

End

I found a post on Loverslab about someone not being able to save a script, them sending the ESP to someone else and it saving.

I've tried saving in vanilla geck, GECK PU, Geck extender. Any idea as to why I cant reference a quest variable?

So, after uninstalling NV, deleting the folder, reinstalling, being unable to save the script in vanilla geck, it saved in Geck Extender. Turns out sometimes you need a few hours for something to save.

Edited by v3nture
  • Recently Browsing   0 members

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