- Joined
- Jun 13, 2015
- Messages
- 2
- Reaction score
- 0
- Primarily Uses
After some basic searching, I haven't found any way to do this, so I figured I'd ask.
Is there a way to save the names of the target and/or caster as a variable? For example, if Bob uses ExampleStab to attack Thug, you could set ExampleStab up to save the casters name as variable 5 and the targets as variable 13. Ideally, the variables used would be configurable on a per-ability basis.
Is there (for example) some damage formula script command that I've missed that does this?
Also, not that I have any use for it currently, but what about a way to save the ID (list number) of the caster/target in a similar fashion? Saving "castername" to v5 and "casterID" to v7, for example. Might run into problems because player characters could have the same ID number as monsters (both Bob the Hero and Generic Thug might be number 3 on their respective lists), but I thought I'd ask anyway, just in case I end up finding some use for the ID in addition to the name.
Is there a way to save the names of the target and/or caster as a variable? For example, if Bob uses ExampleStab to attack Thug, you could set ExampleStab up to save the casters name as variable 5 and the targets as variable 13. Ideally, the variables used would be configurable on a per-ability basis.
Is there (for example) some damage formula script command that I've missed that does this?
Also, not that I have any use for it currently, but what about a way to save the ID (list number) of the caster/target in a similar fashion? Saving "castername" to v5 and "casterID" to v7, for example. Might run into problems because player characters could have the same ID number as monsters (both Bob the Hero and Generic Thug might be number 3 on their respective lists), but I thought I'd ask anyway, just in case I end up finding some use for the ID in addition to the name.


