![]() |
need help with scripts I help with making a script ncs to kill I of my npc I made. can some one help me with it :confused:. |
Re: need help with scripts Here is that script copy this to your txt. Or dialog editor. void main() { ChangeToStandardFaction(OBJECT_SELF, STANDARD_FACTION_HOSTILE_1); } |
Re: need help with scripts That will make the NPC attack you. If you wanted it to just die on the spot use this: void main() { object oPC = GetPCSpeaker(); object oTarget; oTarget = GetObjectByTag("TAG_HERE"); effect eEffect; eEffect = EffectDeath(); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget); } Just replace TAG_HERE with the NPC's tag. -DDD |
| All times are GMT -7. |
Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.