FRUA & DUNGEON CRAFT Community Forums

Dungeon Craft => Dungeon Craft - FAQs & Knowledge => Topic started by: manikus on February 04, 2017, 04:22:36 PM

Title: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 04, 2017, 04:22:36 PM
The dc spell system is really good at giving you ways to target a combatant or a location, but not both in one spell.

Here is the situation:
I have a spell that  casts an area effect. The description of the spell says that you can target a specific location (in which case the spell is fixed to that spot for the duration of the spell) or you can target someone (and that someone can walk around with this effect on them). Now, as far as the effect goes, the AURA hooks are great, but just like spells, I have to choose location or combatant.

How do I proceed? If there is a way to accomplish my goal with what we have available now, could someone please point me int he right direction? :D And if we can't do this now, Paul, let's discuss how we move forward on this.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 04, 2017, 04:50:04 PM
Three questions for starters:

1) You are talking about combat.  Correct?

2) You want the spell to target a location and you
want that location to be dynamic....follow a combatant.
Correct? 

3) The spell effect will expire if the combatant dies. Correct?
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 04, 2017, 05:01:28 PM
Three questions for starters:

1) You are talking about combat.  Correct?
Sorry not say that earlier, but yes, I was talking about comabt, though the spell can be used outside of combat.

Quote from: Paul
2) You want the spell to target a location and you
want that location to be dynamic....follow a combatant.
Correct?

This would be easier, but it is more complicated. It could be cast on any location, and if the location has a combatant in it, the location or the combatant.

Quote from: Paul
3) The spell effect will expire if the combatant dies. Correct?
No. The spell effect will continue until either it's duration expires or combat ends, whichever comes first.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 04, 2017, 07:52:10 PM
Quote
It could be cast on any location, and if the location has a combatant in it, the location or the combatant.

This did not compute for me.  I cannot rearrange it in any
way that makes sense to me.  Here is my best guess at
rewording:

The spell can be cast on any location.  If no combatant is at
that location then the spell is anchored to that location and becomes
an area-effect spell.
If a character is at that location then the spell is applied to
that character and no spell is attached to the location itself.

It seems that maybe what would work is two spells, one of
which is used if the location is occupied and the other if the
location is empty.  Is it like that?
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: SilentThief on February 05, 2017, 12:37:55 AM
hoping I can help

I *think* that what Manikus is saying is that an area effect combat spell should be both castable to a cell/target with an enemy as well as castable into a cell/target area that does not have an enemy standing in it. This would allow strategic placement of spells, for example casting a fireball spell onto the empty area on the other side of a line of enemies in combat, and the splash/area of effect could overlap the enemies but not hit your own characters

another example is casting a stinking cloud spell in combat to block a path to hold off or ensnare enemies who approach to attempt a melee attack

ST the hopeful helpful

edited a couple of times for clarity
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 05, 2017, 09:27:21 AM
In simple words: Cast a spell on a location.

OK, we will wait for Manikus to let us know
if that was his intent.

I wonder how he would determine which cell to attack.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Mechanaut on February 05, 2017, 10:55:07 AM
As I read it, it seems to suggest casting a spell on a location, but that if the location is occupied at the time of the casting then that entity is the recipient/target of the spell ~instead of the ground. And as such, the spell effects would continue to emanate from them wherever they go, for its duration; following them like a bad smell...  [Think of Cloudkill as an aura]
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: SilentThief on February 05, 2017, 11:13:57 AM
As I read it, it seems to suggest casting a spell on a location, but that if the location is occupied at the time of the casting then that entity is the recipient/target of the spell ~instead of the ground. And as such, the spell effects would continue to emanate from them wherever they go, for its duration; following them like a bad smell...  [Think of Cloudkill as an aura]

Perhaps you are right. In FRUA, the silence 15 radius spell behaved like this, affecting those around it,but following the target if they are affected

ST the affected
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 06, 2017, 01:48:52 PM
In simple words: Cast a spell on a location.

OK, we will wait for Manikus to let us know
if that was his intent.

I wonder how he would determine which cell to attack.

Cast the spell on any location.

If chosen location has an entity:
Player can select location
OR
Player can select entity.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 06, 2017, 08:27:50 PM
Now it sounds as if the only thing that you want changed is
the method of selecting a location.  A location can be
selected by selecting a location of by selecting a combatant
and using his location as the selected location.

A mini-mod that sets up the situation would be very helpful.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 07, 2017, 01:11:34 PM
Now it sounds as if the only thing that you want changed is
the method of selecting a location.  A location can be
selected by selecting a location of by selecting a combatant
and using his location as the selected location.

A mini-mod that sets up the situation would be very helpful.

Right now, I can choose any location, whether a combatant is there or not.
What I want to do is if I choose a location that has a combatant in it, I want to be able at the moment of sp  ellcasting to choose that location OR that particular combatant.
Is this how you understand it? If we are on the same page, I wil lget to making a mini-mod. :)
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 07, 2017, 06:38:57 PM
You cast a spell and choose a location on the map
containing a combatant.  OK.
What should happen differently in the two cases:
1) You select 'Location'
2) You select 'Combatant'

How would you like to make that selection?
A menu choice appears for certain spells that
allow this sort of choice?  Not all spells allow
such a choice, I assume.  How would such spells
be identified by the engine?

Perhaps if you gave an example of a very particular
spell and why you would want to use it in this way.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 07, 2017, 07:31:21 PM
You cast a spell and choose a location on the map
containing a combatant.  OK.
What should happen differently in the two cases:
1) You select 'Location'
2) You select 'Combatant'

How would you like to make that selection?
A menu choice appears for certain spells that
allow this sort of choice?  Not all spells allow
such a choice, I assume.  How would such spells
be identified by the engine?
A menu choice would be nice, perhaps when over the cell in question, instead of "Target", it would read "Target Location" and "Target Combatant". And you are correct, only a minority of spells would need this ability. I would assume that we would either add a new targeeting type so the engine would know this spell was different, or we would add a new Hook that must be in an SA attached to the spell.

Quote from: Paul
Perhaps if you gave an example of a very particular
spell and why you would want to use it in this way.
The spell in particular is 'Light' and it's reverse, 'Darkness'.
http://pandaria.rpgworlds.info/cant/rules/adnd_spells.htm#Light
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 07, 2017, 07:41:11 PM
I fear you have to be very simple and specific
to get through to me.

You did not answer my question: "What would happen
differently in the two cases?"

Is it that you want to cast one of two different spells,
depending on your selection of "Location" or "Combatant"?
A 'Light' spell in one case and a 'Darkness' spell in the other?
If so, why not cast the proper spell in the first place?
I remain altogether puzzled.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: steve_mcdee on February 07, 2017, 09:45:28 PM
If you choose "combatant" then the area affected by the spell would be an area around that combatant, and for so long as the spell was in force and the combatant remained alive, the area would move with the combatant. So, if the area was a 3x3 square with the combatant at the centre, the area would move so that it remained a 3x3 area with the combatant at the centre, even if the combatant moved around the battlefield.

If you choose "location" then the area affected by the spell would be an area around that location. It would not move, even if the combatant formerly occupying that target location moved away.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 08, 2017, 11:07:49 AM
Quote
If you choose "combatant"...the area would move with the combatant....
If you choose "location"...the spell would be an area around that location. It would not move,

I thought I offered that interpretation many days ago.  But, looking back
I see that I failed to allow for the 'last-second player choice'.

In any case, this makes total sense.

Assuming we have gotten to the crux of the matter:

Is there currently any way in DC combat to attach
an area spell to a combatant?  Or do I have to invent
that in addition to a method selecting the option? 
I don't look forward to implementing
either of these features.  Does FRUA have these features?
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 08, 2017, 01:30:19 PM
Well,l it sounds like we both thought we were being clear and the other person not so much. ;)

To answer new questions:
Is there a way to have area effects target a combatant? DC has Area Effect targeting which does not  target a combatant (areacircle, SelectByHitDice, arealinepickstart, arealinepickend, areasquare, areacone). The other targeting types do no target locations (self, selectByCount, party, touch).
There is currently no way to target a combatant with an area effect.

However I had never planned on using an area effect, beacuse I am going to use AURAs.

Here is what seems simlest to me, which may or may not mean anything.
I propose using the targeting type "selectByCount" Using this we would need a new Hook, similar to the OverrideSpellSelection Hookk but for targeting - OverrideSpellTargeting.  The player would have two options: the comabtant (just like the targeting normally does) or the location at which the combatant is currently standing. I would also need a way to track what the decision was so that I could choose the correct AURA function to use.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 08, 2017, 01:47:21 PM
OK.

First I need to fix the "OverrideSpellSelection" hook as it
currently does not list the options properly.

Then I will try to implement the "OverrideSpellTargeting".
But, as I understand it, the engine needs not to know
the result of this override.  It simply pases that information
to the hook.  You say the "Hook needs to track" the decision.
Do you mean tracking external to the hook itself or only
while the hook is executing?  If the former, couldn't the
aura that you create contain that information.  If the latter,
then that is your business.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 08, 2017, 02:09:55 PM
Let me rephrase the last bit of my earlier post...

Since the Hook will retain the decision made, how do I go about accessing that in a different script? I was not aware that the Hook retained any kind of info  because of my lack of understanding the mechanics of how they work. This does not mean that you have not explained it to me. It just means I don't know how to access any info that a Hook may have retained, with the exception of Hooks that have parameters that have the value of the lat time the Hook ran.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 08, 2017, 03:36:35 PM
I am to supply a hook named "SpellTargeting".
It will be attached to a Special Ability definition.
Then the 'xxyyzz' spell will be given that Special Ability
which might be named "SA_xxyyzz'.

The hook will return with the list of options to be displayed
at the time a cell or combatant is selected by the player.
Now the question is:  How do we communicate the
resultant selection to future hooks?

a) Is this the question? 
b) If I answer this question does it solve your problem?

We should note that the "OverrideSpellSelection" hook has
already run before the target is selected!






Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 08, 2017, 03:48:47 PM
a) Yes
b) Depends on your answer, but I highly suspect it will solve the problem of how to make this happen.

As far as the OverridespellSelection Hook is concerned, I hadnt actually planned on using it in this case. However, there are a number of situations with default spells (spells for the official DC releases) that OverrideSpellSelection should be used (for Dungeons & Dragons reasons). Once I get Light and Darkness working, I would like to make them default spells.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 08, 2017, 04:12:34 PM
Hopefully we are getting somewhere.  It feels good.

Now the player has been presented options at the time
he is selecting the target.  He positions the cursor on
a cell, combatant, or both.  We run hook "SpellTargeting"
and the player is presented with the options:
"Punt"
"Pass"
"Run"
"Fumble"
He selects "Pass".

How long do we have to remember this selection?
If we remember this in a Global variable it will be overwritten
the next time the same spell is cast.  So the BIG question is:

a)Do we have to remember that the player chose "Pass"
after the player is again presented with these same options?

and

b)Why or why not?  Ie: Where and when will this choice be used?

I worry that the answer is that we do have to remember
several choices.  Perhaps because the spell can target
several locations/combatants.  Perhaps for other reasons.
If so, the problem is more difficult because the choice must
be remembered with each instance of spell/target rather
than simply a global choice.




Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 08, 2017, 06:16:57 PM
Hopefully we are getting somewhere.  It feels good.

Now the player has been presented options at the time
he is selecting the target.  He positions the cursor on
a cell, combatant, or both.  We run hook "SpellTargeting"
and the player is presented with the options:
"Punt"
"Pass"
"Run"
"Fumble"
He selects "Pass".

How long do we have to remember this selection?
If we remember this in a Global variable it will be overwritten
the next time the same spell is cast.  So the BIG question is:

a)Do we have to remember that the player chose "Pass"
after the player is again presented with these same options?
No. The script will process this immediately.

Quote from: Paul
and

b)Why or why not?  Ie: Where and when will this choice be used?
We will use it before the player is presented with the choice again. This choice will be used in the script that immediately applies the AURA to the target, whether it be combatant or location.

Quote from: Paul
I worry that the answer is that we do have to remember
several choices.  Perhaps because the spell can target
several locations/combatants.  Perhaps for other reasons.
If so, the problem is more difficult because the choice must
be remembered with each instance of spell/target rather
than simply a global choice.
For what I want to use this for, we do not need to remember multiple choices. I can foresee someone else wanting to do things differently. I have several suggestions as to resolve this. I am sure there are things I'm not going to think of.
1) You create the Hook so that it only allows a count of 1, so that know matter what number the designer uses with this particular selectByCount, that we only honor the first and ignore rest.
2) You create a new targeting type for the Hook to work with - SelectTarget or some such that is exactly like selectByCount except that it only has 1 target.
3) The global variable holds a delimited string instead of a single value. After the spell resolves, by which I mean the effects are applied to the targets (we would know this is done because the next combatant gets a turn meaning that all of this spell taking affect is done, not that the spell is done, just the applying of it)

We should do whichever is easiest or best, depending on how hard these would be to implement. Or, we choose option #4.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 08, 2017, 06:52:23 PM
The problem is that the "SpellTargeting" hook exits and
provides the options to be displayed in its return value.
Ouch.   The hook has disappeared.

What if we make two hooks? 
1) "SelectSpellTarget"   (returns with options to display)
2) "TargetSelected"      (receives the players choice)

The other option is to put the options directly into the
spell's Special Ability parameter.  I think this is ugly because
the parameter should be reserved for the hooks to examine.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 08, 2017, 07:02:55 PM
And thus by having two Hooks we can have multiple targets in one spell? This sounds great to me. :D
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 08, 2017, 07:26:23 PM
Quote
we can have multiple targets in one spell?

Yes, I think that would work.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 08, 2017, 07:38:19 PM
I think this will be fun testing out. :D
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 14, 2017, 01:31:46 PM
I am having a couple of issues with the new hooks, actually with the second one. I suspect that they are due to my misunderstanding. :)

1)   ProcessSpellTargetOverride does not allow $SET_SPELL_SA() in the editor. The documentation states that the Hook states the context as "the spell". This would be a perfect time to use $SA_SPELL_SET(), however the editor continues to tell me that is not a valid function.
2)   My goal is to pass the target choice to the AURA. Having the new Hooks in the same SA as the AURA Hooks did not work. Putting them in two separate SAs on the same spell, makes the spell appear to work, however regardless of my coise, the map is always chosen.
I thought that perhaps setting Paramater [1] would give the SA the  value to the SA.
The Hook docs state the Return value is ignored, so I haven't tried just Returning the value.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 14, 2017, 01:56:57 PM
1) You are no doubt right.  The editor interaction
with the contexts is a bit fragile.  I'll look into that.

2) I'll look into this, too.  Not sure I understand the question yet.
Having the new hooks in the same SA as the AURA hooks should
not have any effect on their operation. 

But let me fix 1) and then return to 2).
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 14, 2017, 04:01:35 PM
tHANKS, pAUL.

aS FAR AS #2 IS CONCERNED, i AM SURE IT CAN BE WORDED BETTER.. i'M TRYING TO FIND A WAY TO PASS INFO OUT OF THIS hOOK TO BE USED BY THE aura. nOT SURE HOW TO DO THAT.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 14, 2017, 07:38:13 PM
Quote from: Manikus
does not allow $SET_SPELL_SA(

For good reason.  It is not allowed.
You cannot change the definition of a spell at runtime.
The Special Abilities attached to a spell are part of its
definition.  You cannot change the Special Abilities of
a spell at runtime.  This is documented at:
http://dianneandpaul.net/UAF/Help/SASpecialAbilitiesScripts.html

Combatants change during gameplay; spells do not.
Spells are constant.

Perhaps if we knew what you are attempting?????
Are you attempting to change the spell's action depending
on the player's response to the OverrideSpellTarget hook?
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 15, 2017, 05:25:52 PM
Quote from: Paul
For good reason.  It is not allowed.
You cannot change the definition of a spell at runtime.
The Special Abilities attached to a spell are part of its
definition.  You cannot change the Special Abilities of
a spell at runtime.  This is documented at:
http://dianneandpaul.net/UAF/Help/SASpecialAbilitiesScripts.html

Combatants change during gameplay; spells do not.
Spells are constant.

Perhaps if we knew what you are attempting?????
Are you attempting to change the spell's action depending
on the player's response to the OverrideSpellTarget hook?
I am trying to record whether the player has chosen "Map" or "Combatant" (or "Duck" or "Goose or whatever).

I do realize that I was trying to change the spell, but I thought there was temp version while it was being cast, but of course that makes no sense. I thought that adding something to it that wouldn't change how it funtioned would be a good way of keeping track of this choice.

I haven't tried using an ASL, because I didn't think I would have access to the info until the start of the next combat round (and I wanted it immediately).
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 15, 2017, 06:28:42 PM
Quote
adding something to it that wouldn't change how it funtioned

But....!  Changing how it functioned is exactly what you are
attempting to do!  Is it not?

An ASL should work. If the information is going to be used
immediately, it should work fine.  Modifications to an ASL take
place immediately and can be accessed immediately.  For that
matter, you could put your information in a quest stage.

Why not put the information in an SA attached to the caster?
This might be better.

What I worry about is that:
1) Cast the spell and select a target
2) Put the information in an ASL
3) Another character casts the spell and selects a target
4) Put new information in the ASL
5) Use the information in the ASL   Oooops....wrong information!
6) Use the information in the ASL 

Perhaps this is impossible in your case.  If it were possible
in ANY case, it would be bad because other folks might copy
your example in cases where it would fail.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 15, 2017, 07:22:33 PM
I totally gt how it is changing the spell, I was just explainging why I wanted to do that. :) I know that it would be bad, but I had been thinking about it wrong.

I had thought about using a combatant SA, but the context is the Spell, and the places the Hook is looked for is the spell.
If you give me the combatant, or combatant->attacker context, I will do this.

For the ASL, you make a good point. It could still work if I did a time check. But, now I am storing multiple data points in the ASL, not too difficult, but if we can do it easier by adding combatants as a context to the Hook, that would be better. :D
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 16, 2017, 08:52:23 AM
Quote
but if we can do it easier by adding combatants as a context to the Hook

Adding additional context is very straight-forward and easy.  Exceot
for updating the documentation.  I'll add this later today.  After I
get two teeth pulled and my jawbone drilled for implants.   :(
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 16, 2017, 12:12:10 PM
Quote
but if we can do it easier by adding combatants as a context to the Hook

Adding additional context is very straight-forward and easy.  Exceot
for updating the documentation.  I'll add this later today.  After I
get two teeth pulled and my jawbone drilled for implants.   :(

Thanks, Paul. You are far more hearty than I am. A visit to the dentist (or the eye doc) and I am done for the day.

I am discovering that I really don't know as much about spells as I thought that I did. I have used AURAs on multiple monsters, but not as a spell effect. There is a learning curve.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 16, 2017, 01:03:52 PM
Version 2.72 of the engine adds Attacker Context (The combatant
who cast the spell).
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 16, 2017, 01:27:04 PM
Version 2.72 of the engine adds Attacker Context (The combatant
who cast the spell).

Thank you, Paul. :D
I am getting it now.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 22, 2017, 01:04:33 PM
I am still getting GPDL errors when I use $AttackerContext() with ProcessSpellTargetOverride.

I would slso like to request that $TargetContext() for this Hook. Why? I am using the $Create_AURA() function and the context is passed on to the SA it called. Let me reword that, I think the restriction against certain contexts is passed on to the called SA. I need the option, else all AURAs are placed on the caster.

I would also like to request $AttackerContext() for OverrideSpellTargeting, so I can easily place the x and y coordinates in a sA for later use.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 22, 2017, 03:38:42 PM
Ooops.   I messed that up a bit.
I put in in OverrideSpellTargeting (where I thought it was
needed)  but not in
ProcessOverrideSpellTargeting and did the opposite
in the documentation.

I'll see to it this evening.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 22, 2017, 05:10:39 PM
Ooops.   I messed that up a bit.
I put in in OverrideSpellTargeting (where I thought it was
needed)  but not in
ProcessOverrideSpellTargeting and did the opposite
in the documentation.

I'll see to it this evening.

Thank you, Paul.

I was getting an error for $AttackerContext() for both Hooks, and I would like to have the context for both Hooks.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 22, 2017, 06:27:56 PM
Quote
I was getting an error for $AttackerContext()

You should not have gotten any error for the one case.

Engine version 2.75 supplies Attacker and Target
context for both hooks.  If you got an error before and
you still get an error, I guess we will need a mini-mod.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 22, 2017, 06:30:47 PM
Quote
I was getting an error for $AttackerContext()

You should not have gotten any error for the one case.

Engine version 2.75 supplies Attacker and Target
context for both hooks.  If you got an error before and
you still get an error, I guess we will need a mini-mod.

Thank you, Paul.
If I got an error before and still get one, the first thing I need to do is make sure my script is correct. :) If the problem persists, you will get a mini-mod.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 23, 2017, 01:22:51 PM
The contexts work well. However, I am getting an error.
In the mini-mod I've attached, the first time the spell is cast, "Combatant" is chosen and that works exactly as it should. The second time it is cast, I chose "Map" and get an error and the spell does not work.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 24, 2017, 05:20:14 PM
Attaching an aura to an x,y location was never implemented.

Engine version 2.76 attempts to implement this feature.
Available in 10 minutes.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 24, 2017, 05:30:13 PM
Thank you, Paul. I will try this out tonight and post tomorrow. :)
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 25, 2017, 02:15:54 PM
The good nrews is that there is no longer an error message popping up. The bad news is that the engine crashes. Mini-mod attached.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 25, 2017, 04:02:36 PM
I think your problem may be due to your using an
outdated version of Dungeon Craft Engine.  Try:
http://dianneandpaul.net/UAF/DungeonCraft_277.7z
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 25, 2017, 05:07:44 PM
You were right, Paul. I was using an outdated engine.  No crashes, no errors.

Thank you, Paul.
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: Paul R. Stevens on February 25, 2017, 06:09:44 PM
And then the next question:  Does it work?   Pretty
amazing if it works well.  I anticipate a complaint or two..
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 25, 2017, 06:23:14 PM
And then the next question:  Does it work?   Pretty
amazing if it works well.  I anticipate a complaint or two..

Sorry to be unclear. I meant to imply that my very brief test was successful. I was able to attach an AURA to the map and it appeared to work exactly as expected. I will do some more thorough testing over the weekend and let you know if there are any further issues. :D
Title: Re: How do I make a spell that targets a combatant or a location?
Post by: manikus on February 27, 2017, 12:58:29 PM
Paul, I apologize. I tried to break AURAs and I couldn't. :D :D :D