FirstVaultDweller Posted September 2, 2018 Share Posted September 2, 2018 hi ,i created a misc item and attached this script to it: Scriptname DCF_SchematicSupplyCrateNotification extends ObjectReference Event OnActivate(ObjectReference akActionRef) Debug.notification("You are now able to build a Supply Crate.") endEvent so when you pick it up in-game you get a notification that's what i want so it's working but the problem now is thatthe notification shows up every time i pick it up it has to show only the first time. How can i fix that somebody any idea? Link to comment Share on other sites More sharing options...
SandMouseAnarchy Posted September 2, 2018 Share Posted September 2, 2018 You could make it a quest and only run the quest once? Link to comment Share on other sites More sharing options...
FirstVaultDweller Posted September 2, 2018 Author Share Posted September 2, 2018 You could make it a quest and only run the quest once?Thnx for your reply i was hoping for a simple way add one line in the script or something.If it's easy to explain could you tell me how? thnx Link to comment Share on other sites More sharing options...
morogoth35 Posted September 2, 2018 Share Posted September 2, 2018 Scriptname DCF_SchematicSupplyCrateNotification extends ObjectReference Int DoOnce = 0 Event OnActivate(ObjectReference akActionRef) If (DoOnce == 0) Debug.Notification("You are now able to build a Supply Crate.") DoOnce = 1 EndIf EndEvent Link to comment Share on other sites More sharing options...
FirstVaultDweller Posted September 2, 2018 Author Share Posted September 2, 2018 Scriptname DCF_SchematicSupplyCrateNotification extends ObjectReference Int DoOnce = 0 Event OnActivate(ObjectReference akActionRef) If (DoOnce == 0) Debug.Notification("You are now able to build a Supply Crate.") DoOnce = 1 EndIf EndEvent It worked thank you very much appreciate it :thumbsup: Link to comment Share on other sites More sharing options...
Recommended Posts