View Single Post
Old 02-10-2004, 06:58 PM   #2
Darkman
Avatar
 

Join Date: July 11, 2001
Location: Austin, Texas
Age: 44
Posts: 525
I think bVisualEffect needs to be set as TRUE or FALSE.

If you want to show a specific animation when the Drow are summoned, I believe you must use a separate command to do that.

So you would create a Drow,

CreateObject(OBJECT_TYPE_CREATURE, sObj, lLoc1, FALSE);

Then you would do a visual effect of your choice at that location,

AssignCommand ( GetObjectByTag(sObj), ApplyEffectAtLocation (DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_IMP_HARM), lLoc1, 3.0) );

I think that's how to do it... Lemme check to see if it works

EDIT: It works [img]smile.gif[/img]

Also, be sure that you have this script in the ActionTaken slot in your NPC's conversation. You can mess around with DelayCommand if you want the Drow to be summoned one at a time or something. Also you can use a wide variety of effects for the visual - pretty much every constant starting with VFX is valid.

[ 02-10-2004, 07:35 PM: Message edited by: Darkman ]
__________________
There more of it there is,<br />The less you see.
Darkman is offline   Reply With Quote