Domhnall Posted March 28, 2006 Share Posted March 28, 2006 Is it possible to apply a restriction to when containers are open? This is especially exploitive when you're allowed to pick a lock with some guy chasing you with a battleaxe. I'd like it also tp apply to searching corpses, etc. Link to comment Share on other sites More sharing options...
Baraka Posted March 29, 2006 Share Posted March 29, 2006 Is it possible to apply a restriction to when containers are open? This is especially exploitive when you're allowed to pick a lock with some guy chasing you with a battleaxe. I'd like it also tp apply to searching corpses, etc. I can only do rudimentary scripting, but do know you would do it through a script. Wish theFunkyone or Ceren or some of the other scripting wizards were present. Try something like putting a condition script on the player saying "Container opens < 1..... 0 = normal action......1 = battle action. Container opens >0 .....0 = live NPC.....1 = Dead NPC A real scripter would laff their *ss off at this prob...but I think it would be something along those lines but you must research the proper terminology..sorry not to be of any more help. Link to comment Share on other sites More sharing options...
ThetaOrionis01 Posted March 29, 2006 Share Posted March 29, 2006 This might be a good starting point: http://cs.elderscrolls.com/constwiki/index.php/Activate Link to comment Share on other sites More sharing options...
foo-bar Posted March 29, 2006 Share Posted March 29, 2006 Is it possible to apply a restriction to when containers are open? This is especially exploitive when you're allowed to pick a lock with some guy chasing you with a battleaxe. I'd like it also tp apply to searching corpses, etc. This might be possible, but a hard task. The first thought that occured to me for this is to edit every container that might be accessibl e to the player during combat (basically every container in the game I suppose) and try something similar to the following: begin OnActivate if player.IsInCombat Message Unable to open container ; do something to disable opening / activation of containers endif end My guess is that this code would not work completely, as I don't believe every container is opened via a script, or has a script Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.