Building & Scripting > Scripting Board
How Do I???
Kvetch:
I thought I'd just create this topic for people like me that are trying to figure out how to do one small thing and have no clue... so.. yeah, like me. <FIZZY!!! WHY WON'T IT WORK!>
Kvetch:
Ok, I started this for a reason...
How do I... get a mob to cast spells? I understand that he needs mana, but how do I in effect GIVE him mana? And, why in gods name do I have to anyway? Shouldn't they come with mana just like players do? It's not like I'm asking him to destroy the world or anything (though knowing the way I script, that may happen anyway).
Kvetchy
Mordecai:
dg_cast 'spellname' <target>
dg_cast 'acid arrow' %actor%
dg_cast 'acid arrow' %self.fighting%
Molly:
From what I've seen dg_cast doesn't work at all, and returns a syserr when you try to use it in a script.
Probably a code issue.
Kvetch:
worked in build port. *blinks innocently* Poor, poor Cati felt the wrath of that spell.
Navigation
[0] Message Index
[#] Next page
Go to full version