Cirdan Posted February 5, 2015 Share Posted February 5, 2015 I am trying to sort out whether I can add an indoor/outdoor requirement to the usability of an extended effect of an item, It employs the "show area" opcode but i only want it to work outdoors. can this be accomplished without having to resort to writing a spell? Link to comment
lynx Posted February 5, 2015 Share Posted February 5, 2015 I don't think so, the requirement for eg. Call lightning is in the spell, not in any effect field. They do have some that could be used for various usability limits, but not for area types. Link to comment
CrevsDaak Posted February 8, 2015 Share Posted February 8, 2015 Use two Cast Spell (opcode 146) effects with different spells. Put the 1st one (outdoors) to protect against the other spell (use opcode 206 and set par1 to -1, so no string displays) for one second. Edit: why the fuck did I thought the user wanted to write a spell that acts differently outdoors/indoors? Oh crap... I should read the whole thread. Link to comment
Avenger Posted February 9, 2015 Share Posted February 9, 2015 I think this can be coded only in the EE, where you can set up conditional effects based on area flags. You don't really have to use separate spells and opcode 146. It is enough if you add a resistance to itself (opcode 318) if the area is not outdoors. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.