View Full Version : obsorbing attacks
10-05-2005, 11:50 AM
ok here goes for the stargate tc how would i do a sheild that was like around the user in like a bouble with it being see through
10-05-2005, 12:38 PM
huh? If I understand well, you'd like a shield like the red bubble in this image? http://img47.photobucket.com/albums/v144/Darth333/KotOR0014.jpg
If so, then you can put those lines in your script:
effect eVFXc = EffectVisualEffect(VFX_DUR_SHIELD_RED_MARK_IV);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eVFXc, OBJECT_SELF, 45.0);
I am not too sure that VFX_DUR_SHIELD_RED_MARK_IV is the correct effect. It's been a while since I worked on that mod (AIOFPM for K1) and I don't remember. You can check visualeffects.2da (I think that's the corect filename but again, I don't have the game with me to verify).
The 45.0 at the end of the second line is the duration of the effect (45 seconds). You can also replace DURATION_TYPE_TEMPORARY by DURATION_TYPE_PERMANENT but make sure to removethe 45.0 at the end if you do so. OBJECT_SELF can also be changed to target a specific npc but I need to know what you want to do exactly.
Are you trying to do an armband, a droid shield or simply an effect that you can apply when the object is spawned or during a dialogue?
10-06-2005, 04:05 AM
well an armban u no like the breath tecnique from wat kreia teaches u on naashada
vBulletin®, Copyright ©2000-2013, Jelsoft Enterprises Ltd.