Jump to content

Traps On Containers?


Bolgo The Madd

Recommended Posts

Where is the traps button on chests and containers?

 

The Oblivion Wiki tells me it exists after traps... but I don't see it.

Don't tell me it doesn't exist, I don't need to hear it.

 

So where is this tab or button?

Apparently I can select from a list of touch spells to trap references of object (chests) IDs...

That would be nice.

 

 

glut glut

 

Bolgo The Madd

Link to comment
Share on other sites

I don't think there are any, as there are no probes or anything in the game. You could easily script one in though, I think that

 

Begin OnActivate

if IsActionRef player == 1

//trap effects go here

End

 

 

would do the trick. You'd have to rename any chests you put it on to Trapped Chest or whatever, because a script isn't going to show in game, unless you don't want people to know it's trapped. The only downside is that you can't really de-trap it, since it's a scripted effect, and not an actual game element like it was in morrowind. I guess you could make an item called 'probe', and if you used the chest it would pop up a message saying 'trap disarmed' or whatever instead of doing damage or whatever. like this:

 

Begin OnActivate

if IsActionRef player == 1
  if GetItemCount PROBE_EDITOR_ID > 0  //*
  MessageBox "The trap has been disarmed"
  RemoveItem PROBE_EDITOR_ID Player //**
  else 
  //trap magic damage or whatever


End

 

* - not sure about the syntax here, do you have to indicate player or is it assumed?

** - do you have to indicate quantity? again I'm not sure here I haven't had a chance to mess with these much yet.

 

I dunno, hope this helps.

Link to comment
Share on other sites

LAP made an awesome Traps and Lock Bashing mod.

 

I've done some balancing on it and his trap stuff is so solid, and difficutl to look at, that I don't want to touch it really. But I'm beating my head against a wall trying to make his lock bash script work off of OnHitWith instead of OnActivate.

 

LAP is obviously really smart, but he put a trap feature, disarm feature, lock bash feature, and trap detection feature all in ONE BLOCK.... ugh. The script is 7 pages long and has 5 blocks total.

 

I'm losing my mind.

most likely I'm messing up some return function garbage...

 

glut glut

 

Bolgo the Madd

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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