I need some help with interaction. I created three interactions, but when I control the creatures that has them in the arena, I can't target anything with them. Here are the interactions:
The first one is called EXORCISM. It is intended to remove negative aspects of vampirism.
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_REQUIRES:SUPERNATURAL]
[IT_MANUAL_INPUT:supernatural creature]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CLASS:BANISHMENT]
[SYN_NAME:exorcism]
[CE_SPEED_CHANGE:SPEED_PERC:10:START:0:END:5000]
[CE_REMOVE_TAG:STERILE:NO_DRINK:BLOODSUCKER:OPPOSED_TO_LIFE:NO_PHYS_ATT_GAIN:FIT_FOR_ANIMATION:FIT_FOR_RESURRECTION:START:0]
[I_EFFECT:CLEAN]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_GRIME_LEVEL:2]
Questions. How do I make it target only vampires, werebeasts and undead? Can interaction targeting be made so that it only targets vampires OR werebeats OR undead. Is there a tag [IT_MUST_HAVE_SYNDROME_CLASS] or something like it.
The second interaction, REST_IN_PEACE is supposed to prevent corpses and remains from being raised.
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_MANUAL_INPUT:creature remains]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CLASS:BINDING]
[SYN_NAME:grave blessing]
[CE_REMOVE_TAG:FIT_FOR_ANIMATION:FIT_FOR_RESURRECTION:START:0]
Would this work,if not how do I modify it.
The third interaction called UNMAKE is a material emission that also inflicts a syndrome. I suppose that it would have been easier to use the standard material emission with a material that inflicts syndromes, but would this work:
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:MATERIAL]
[IT_MATERIAL:CONTEXT_MATERIAL]
[I_TARGET:B:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:C:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:D:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_MANUAL_INPUT:creature]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:D]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CLASS:UNMAKING]
[SYN_NAME:unmaking]
[CE_SPEED_CHANGE:SPEED_PERC:10:START:0:END:5000]
[CE_REMOVE_TAG:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:PARALYZEIMMUNE:NO_EAT:NO_DRINK:NO_SLEEP:OPPOSED_TO_LIFE:FIT_FOR_ANIMATION:FIT_FOR_RESURRECTION:START:0]
[CE_FEVER:SEV:100:PROB:100:RESISTABLE:START:50:PEAK:500:END:1500]
[CE_NAUSEA:SEV:70:PROB:100:RESISTABLE:START:50:PEAK:100:END:300]
[CE_DROWSINESS:SEV:150:PROB:100:RESISTABLE:START:1000:PEAK:2000:END:4000]
[CE_DIZZINESS:SEV:150:PROB:100:RESISTABLE:START:1000:PEAK:2000:END:3000]
[CE_NECROSIS:SEV:200:PROB:100:RESISTABLE:START:50:PEAK:1000:END:5000]
[CE_UNCONSCIOUSNESS:SEV:200:START:100:PEAK:1000:END:10000]
[CE_NECROSIS:SEV:200:PROB:100:RESISTABLE:BP:BY_TYPE:THOUGHT:ALL:BP:BY_TYPE:NERVOUS:ALL:START:30:PEAK:60:END:1200]
[I_EFFECT:MATERIAL_EMISSION]
[IE_TARGET:A]
[IE_TARGET:B]
[IE_TARGET:C]
[IE_TARGET:D]
[IE_IMMEDIATE]
Note, that at the same time it is also supposed to remove the advantages that supernatural creatures have.
And here is part of the raws fro the creature files that are supposed to invoke these interactions.
The first one calls upon EXORCISM.
[CAN_DO_INTERACTION:EXORCISM]
[CDI:ADV_NAME:Exorcism]
[CDI:USAGE_HINT:CLEAN_FRIEND]
[CDI:VERB:channel cleansing energies:channels cleansing energies:NA]
[CDI:TARGET_VERB:is cleansed:is cleansed]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:15]
[CDI:MAX_TARGET_NUMBER:A:5]
[CDI:WAIT_PERIOD:500]
Is this the correct way to invoke it so that it targets only friendly units?
Next is the one that is supposed to prevent remains/corpses from being raised
[CAN_DO_INTERACTION:REST_IN_PEACE]
[CDI:ADV_NAME:Graveyard peace]
[CDI:USAGE_HINT:CLEAN_FRIEND]
[CDI:VERB:channel soothing energies:channels soothing energies:NA]
[CDI:TARGET_VERB:is put to rest:is is put to rest]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:15]
[CDI:MAX_TARGET_NUMBER:A:10]
[CDI:WAIT_PERIOD:1000]
I suspect that the usage hint here is incorrect.
Here is the third one using the UNMAKE interaction.
[CAN_DO_INTERACTION:UNMAKE]
[CDI:ADV_NAME:Chilling stare]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:EYE]
[CDI:MATERIAL:INORGANIC:CRYO:TRAILING_VAPOR_FLOW]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:30]
[CDI:MAX_TARGET_NUMBER:C:3]
[CDI:WAIT_PERIOD:30]
Here is also the inorganic material CRYO
[INORGANIC:CRYO]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[DISPLAY_COLOR:3:0:1][TILE:'*']
[MATERIAL_VALUE:1]
[STATE_NAME:ALL_SOLID:ice]
[STATE_ADJ:ALL_SOLID:ice]
[STATE_COLOR:LIQUID:BLUE]
[STATE_NAME:LIQUID:freezing spray]
[STATE_ADJ:LIQUID:freezing spray]
[STATE_COLOR:GAS:BLUE]
[STATE_NAME:GAS:vapor]
[STATE_ADJ:GAS:vapor]
[MELTING_POINT:250]
[BOILING_POINT:2500]
[SOLID_DENSITY:12670]
[LIQUID_DENSITY:13300]
[IS_STONE]
[MAT_FIXED_TEMP:1500]
[SPEC_HEAT:4000]
[SYNDROME]
[SYN_NAME:frostbite]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_INJECTED]
[SYN_INHALED]
[SYN_CONTACT]
[CE_PARALYSIS:SEV:50:PROB:100:SIZE_DILUTES:START:1:PEAK:2]
[CE_BLEEDING:SEV:200:PROB:100:SIZE_DILUTES:BP:BY_CATEGORY:ALL:ALL:START:1:PEAK:2]
[CE_NECROSIS:SEV:500:PROB:100:SIZE_DILUTES:BP:BY_CATEGORY:ALL:ALL:START:1:PEAK:2]
[CE_PAIN:SEV:1000:PROB:100:SIZE_DILUTES:START:1:PEAK:2]