EnderWiggin Posted May 5, 2006 Share Posted May 5, 2006 Does this look OK? It will be attached to a dialog. void main() { object oLocker=GetObjectByTag("ew_footlocker029"); if (oLocker==OBJECT_INVALID) { vector vLocker=Vector (1.18316, -26.91355, 7.50000); location lLocker=Location(vLocker, 90.00000); oLocker= CreateObject(OBJECT_TYPE_PLACEABLE, "ew_footlocker029", lLocker); CreateItemOnObject("ew_b_data_c", oLocker); } } { SetLocked(GetObjectByTag("kh_door_locked", 0), 0); DelayCommand(0.5, AssignCommand(GetObjectByTag("kh_door_locked", 0), ActionOpenDoor(GetObjectByTag("kh_door_locked", 0)))); } If that is right, my next question is Do all the Private Doors in Khoonda have the same tag? If yes, will this script open all such doors as is? If yes, what is the best way to stop that? TIA. _EW_ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.