Avenger Posted August 16, 2009 Share Posted August 16, 2009 Are these documented anywhere? I know these: #define FX_TARGET_SELF 1 - the caster itself #define FX_TARGET_PRESET 2 - the targeted creature(s) #define FX_TARGET_PARTY 3 - all party #define FX_TARGET_GLOBAL_INCL_PARTY 4 - everyone in the area #define FX_TARGET_GLOBAL_EXCL_PARTY 5 - everyone except the party #define FX_TARGET_NOT_EVIL 6 - preset, but only if it is friendly to caster 7 ? 8 ? #define FX_TARGET_ORIGINAL 9 - the original caster (not entirely sure how is it different from self, but there IS difference) Link to comment
devSin Posted August 16, 2009 Share Posted August 16, 2009 NI currently has: "None", "Self", "Preset target", "Party", "Everyone and party", "Everyone but party", "Everyone or party", "", "Everyone except self", "Original target" Is 7 crash? I don't know if 8 actually does what it says, though. I changed the wording for 4 and 5, but if it's accurate, 7-8-9 could be and-but-or self. Link to comment
Avenger Posted August 17, 2009 Author Share Posted August 17, 2009 So 0x6 is multiple target? Link to comment
devSin Posted August 17, 2009 Share Posted August 17, 2009 IIRC, if 0x6 is cast by EA PC, it targets party-only, else it targets everyone (or everyone but party; one of the two, but can't remember exactly). It is multiple target, whatever the exact behavior. Link to comment
Avenger Posted August 17, 2009 Author Share Posted August 17, 2009 Well, i noticed my sppr713 (greater restoration) employs 6 as target type. I don't quite see how this spell would target a single creature then. This is why i started this query in the first place 8 - is truly everyone but caster Link to comment
Taimon Posted August 17, 2009 Share Posted August 17, 2009 6 and 7 only apply to matching specifics in the area. 6 uses specifics of self, 7 uses specifics of target. When cast from party members, 6 simply sends the eff to the whole party (without checking specifics). 9 adds the effect to the projectile (like 2 does). 1 and 9 set Bit 1 in the dispel/resistance field, 3-8 set Bit 2. 2 can also set Bit 1 if it targets self. Link to comment
devSin Posted August 17, 2009 Share Posted August 17, 2009 So basically it's InMyGroup() and GroupOf(), and they hacked it to actually work like it should for the party? I still don't understand what's the point of 9? Add/RemoveMapNote() works from the trap? Link to comment
Kung Fu Man Posted August 18, 2009 Share Posted August 18, 2009 You probably guessed I'd say it, but to have everything in one spot, PST only works from 0-5 it seems. Even 9 does nothing. By my guess then BG1's probably in the same boat, at least pre-TotSC? Link to comment
Taimon Posted August 18, 2009 Share Posted August 18, 2009 So basically it's InMyGroup() and GroupOf(), and they hacked it to actually work like it should for the party? Yeah, but only for specifics instead of a full object. I still don't understand what's the point of 9? Add/RemoveMapNote() works from the trap? I'm only looking this up -- interpretation is up to you guys. By my guess then BG1's probably in the same boat, at least pre-TotSC? Most likely. Do we have someone who reverses the BG1 executable? Link to comment
Avenger Posted August 18, 2009 Author Share Posted August 18, 2009 6 and 7 only apply to matching specifics in the area. 6 uses specifics of self, 7 uses specifics of target.When cast from party members, 6 simply sends the eff to the whole party (without checking specifics). 9 adds the effect to the projectile (like 2 does). 1 and 9 set Bit 1 in the dispel/resistance field, 3-8 set Bit 2. 2 can also set Bit 1 if it targets self. Oh wait, so you say 'self' doesn't go into the projectile, only '9' ? Then i think i KNOW all. So, 'self' is applied right when the projectile goes off, while '9' is added to the projectile, and applied when the projectile hits? Also, if '9' is added to a multi hit projectile, it will affect you as many times as the projectile hits? Like a magic missile with '9' in it, will affect the caster as many times as many missiles were shot. Link to comment
igi Posted September 3, 2009 Share Posted September 3, 2009 Added, thanks. I wonder why the IESDP went all the way to up 13? I'm looking at you Avenger! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.