stingerhs Posted December 11, 2004 Share Posted December 11, 2004 let me be more concise: is it possible to have a sword have one of the visual effects applied to the blade part of the sword, and have it activated and deactivated like a lightsaber??? Link to comment Share on other sites More sharing options...
tk102 Posted December 11, 2004 Share Posted December 11, 2004 I like your thinking stingerhs. I'm going to see what I can do. Link to comment Share on other sites More sharing options...
tk102 Posted December 11, 2004 Share Posted December 11, 2004 I tried Flamebumpout (2062) : no effect Flameimpact(1039) : no effect ShieldBlue1 (2040) : no effect Too bad, that would've been slick. Link to comment Share on other sites More sharing options...
stingerhs Posted December 12, 2004 Author Share Posted December 12, 2004 oh well, thanks for trying tk. out of curiousity, what methods did you try?? Link to comment Share on other sites More sharing options...
tk102 Posted December 13, 2004 Share Posted December 13, 2004 This was the final .nss file I tried using, attached to my VFX armband's dialog void main() { int nEffectNumber; object oPC=GetFirstPC(); object oItem =GetItemInSlot(INVENTORY_SLOT_RIGHTWEAPON,oPC); string cmMessage; if (!(GetIsObjectValid(oItem))) { cmMessage = GetName(OBJECT_SELF) + "-" + "Right weapon not valid"; SendMessageToPC(oPC, cmMessage); oItem =GetItemInSlot(INVENTORY_SLOT_LEFTWEAPON,oPC); if (!(GetIsObjectValid(oItem))) { cmMessage = GetName(OBJECT_SELF) + "-" + "Left weapon not valid"; SendMessageToPC(oPC, cmMessage); return; } else { cmMessage = GetName(OBJECT_SELF) + "-" + "Left weapon is valid"; SendMessageToPC(oPC, cmMessage); } } else { cmMessage = GetName(OBJECT_SELF) + "-" + "Right weapon is valid"; SendMessageToPC(oPC, cmMessage); } effect eVFX; for (nEffectNumber=1; nEffectNumber<7000; nEffectNumber++) { eVFX=EffectVisualEffect(nEffectNumber); if (GetIsEffectValid(eVFX)) { cmMessage = GetName(OBJECT_SELF) + "-" + "Attempting to apply " + IntToString(nEffectNumber); SendMessageToPC(oPC, cmMessage); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eVFX, oItem); } } } The debug messages showed up but no effects... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.