harIII Posted February 13, 2009 Share Posted February 13, 2009 I need a script to open a door once you have Bastila’s Lightsaber. I can’t get mine to work, I’m not sure I’m even putting the condition in the right spot. Can somebody give me a script please. Also if it is important, Bastila’s Lightsaber tag or template is “g_w_dblsbr006.” Link to comment Share on other sites More sharing options...
Star Admiral Posted February 13, 2009 Share Posted February 13, 2009 I need a script to open a door once you have Bastila’s Lightsaber. I can’t get mine to work, I’m not sure I’m even putting the condition in the right spot. Can somebody give me a script please. Also if it is important, Bastila’s Lightsaber tag or template is “g_w_dblsbr006.” A general version of that script would be something like the following. Posting your version might help us figure something out. void main() { if( GetItemPossessedBy( GetFirstPC(), "g_w_dblsbr006" ) != OBJECT_INVALID ) { object oDoor = GetObjectByTag( "doortag", 0 ); ActionUnlockObject( oDoor ); ActionOpenDoor( oDoor ); } } - Star Admiral Link to comment Share on other sites More sharing options...
harIII Posted February 17, 2009 Author Share Posted February 17, 2009 Thanks and I'll try to continue to post my scripts in the future. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.