Jump to content

Script to place objects in specific locations?


Pococurante

Recommended Posts

Posted
Can anyone point me to an example of dynamically placing an object in a specific location in the world? I played around using GECK to display interior and don't see how to place them that way either, but I'd rather do it programmatically anyway as part of a step in a quest.
Posted
Outside of a container - on top of a specific bookshelf inside an Interior/existing house. I don't want a book to appear there until an earlier step of a quest is completed.
Posted
Place the book, click on it in render window and check persistant reference and iniitially disabled, then attach a script to the quest step you want to trigger it to enable the object.
Posted

Expanding on Chaynsama's post here is the exact script you need (add it to the quest script, not the book itself)

 

Short DoOnce

If GetStage QuestID == ## && DoOnce == 0;## is the quest stage you want completed before the; book is enabled
 BookReferenceID.Enable
 Set DoOnce to 1;Doesn't try to 're-enable' our book. Don't know if this matters but I;always add a DoOnce when enabling
EndIf

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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