Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

player add item only once


DsoS
 Share

Recommended Posts

Needing a little help with 2 things

1) "player.additem MyKeyRef 1" but I can't seem to make it do it only once. I've tried the DoOnce, but not sure of how or where to place it

2) disable "MyWallRef"

3) enable 4 NPC's

4) enable a container (in another cell)

5) enable a custom TrigZone

my script so far


ScriptName CHotWHiddenSecretQS10Script

; QuestLine for when Player reads the journal


begin onactivate

     if getStage CHotWHiddenSecret < 10

          setStage CHotWHiddenSecret 10

     endif

		Activate

end

thanks in advance for the help :thumbup:

Link to comment
Share on other sites


ScriptName CHotWHiddenSecretQS10Script
; QuestLine for when Player reads the journal

begin onactivate
if getStage CHotWHiddenSecret < 10
setStage CHotWHiddenSecret 10
player.additem YourKeyEditorIDGoesHere 1
YourWallRefIDGoesHere.disable
YourNPC#1RefIDGoesHere.enable
YourNPC#2RefIDGoesHere.enable
YourNPC#3RefIDGoesHere.enable
YourNPC#4RefIDGoesHere.enable
YourContainerRefIDGoesHere.enable
YourTrigZoneRefIDGoesHere.enable
endif
Activate
end
[/codebox]

You shouldn't need a DoOnce. As soon as the journal is activated before stage 10, the stage is set to 10, so those conditions will never be true again. Thus, those things should only occur once.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...