You thought correctly about the Set Trap ability; with that you can set a snare which will damage enemies who walk over it. You must watch closely, because if you're not proficient enough in setting traps (which is a thieving skill) setting the trap might not go right (i.e. you'll see this appear in the feedback
CharacterName: Set Snare
CharacterName: Set Snare Failed
Or something fairly similar.