Difference between revisions of "User talk:Ashileedo"
Jump to navigation
Jump to search
→Determining what actor/object attacked or cast a spell
imported>Mrflippy |
imported>Mrflippy |
||
Line 90: | Line 90: | ||
One of the things we have been trying to figure out lately is how to determine who was the attacker or caster of a spell. For example, Actor A casts a targeted spell at Actor B. I have set the spell up to use a script, so Actor B is actually running the script. How can the script determine that Actor A was the caster? | One of the things we have been trying to figure out lately is how to determine who was the attacker or caster of a spell. For example, Actor A casts a targeted spell at Actor B. I have set the spell up to use a script, so Actor B is actually running the script. How can the script determine that Actor A was the caster? | ||
We have figured out a couple workaround solutions, but they require global variables/persistant entities, but, as such, are not easily scalable. This makes it quite difficult to make spells or objects that work for more than 1 actor at a time. Thanks for your time! --[[User:Mrflippy|Mrflippy]] 08:50, 11 April 2006 (EDT) | We have figured out a couple workaround solutions, but they require global variables/persistant entities, but, as such, are not easily scalable. This makes it quite difficult to make spells or objects that work for more than 1 actor at a time. This same limitation seems to exist for standard weapon attacks as well. Thanks for your time! --[[User:Mrflippy|Mrflippy]] 08:50, 11 April 2006 (EDT) |