[DiscordArchive] have I explained myself?
[DiscordArchive] have I explained myself?
Archived author: Telegrill • Posted: 2025-03-31T18:22:12.060000+00:00
Original source
which would end up resulting in a global point?
Archived author: Tea • Posted: 2025-03-31T18:22:42.495000+00:00
Original source
look at fields of SpellDestination class, not its constructors (you cant use those for what you want to achieve)
Archived author: Northstrider • Posted: 2025-03-31T18:22:49.445000+00:00
Original source
https://tenor.com/view/todd-howard-it-ju...f-20598651
Archived author: Telegrill • Posted: 2025-03-31T18:23:38.641000+00:00
Original source
it probably does work, it's just I'm not passing the correct TargetArg to accomplish it
Archived author: Telegrill • Posted: 2025-03-31T18:24:48.326000+00:00
Original source
I think part of the problem is I don't tipically (or ever) use SpellDestination for CastSpellTargetArg
Archived author: Telegrill • Posted: 2025-03-31T18:25:11.682000+00:00
Original source
we normally pass pointers to targets, or Positions directly
Archived author: Tea • Posted: 2025-03-31T18:25:48.586000+00:00
Original source
usually thats what people do, yes
Archived author: Tea • Posted: 2025-03-31T18:26:02.306000+00:00
Original source
but using SpellDestination is another option
Archived author: Telegrill • Posted: 2025-03-31T18:26:25.760000+00:00
Original source
I'm gonna give it a go and come back with the result, that's probably the answer I required, thanks!
Archived author: Tea • Posted: 2025-03-31T18:28:17.237000+00:00
Original source
you basically want
```c++
SpellDestination dest;
// do things to initialize dest as you like
CastSpell(dest, SPELL_ID, ...);
```