Search found 7 matches

by fremen
Wed Nov 09, 2005 11:24 pm
Forum: Avlis News
Topic: Taking submissions for first issue of new online magazine
Replies: 5
Views: 5670

I don't know if it really belongs here but does the new site accept machinima?
by fremen
Wed Oct 26, 2005 10:39 pm
Forum: NWN General Discussion
Topic: Which is better summons to take....
Replies: 20
Views: 15692

no clue here just a question...

Doesn't the Skelly get pretty good dr?
by fremen
Fri Aug 26, 2005 10:14 pm
Forum: NWN Scripting
Topic: NPC speech on entering trigger?
Replies: 2
Views: 6810

void main(){ object oEntering = GetEnteringObject(); if (GetIsPC(oEntering)) //If you only want this for NPC's return; AssignCommand(oEntering, ActionDoCommand(SpeakString("He's one bad moth'r... Shut your mouth"))); } Put this in the triggers onEnter script. This should do it, but I'm not really s...
by fremen
Thu Jun 30, 2005 10:50 pm
Forum: NWN Scripting
Topic: casting spells at objects
Replies: 11
Views: 17196

oh and for fireball it would be

Code: Select all

AssignCommand(oOriginWP, ActionCastSpellAtLocation(SPELL_FIREBALL, lTargetLoc, METAMAGIC_NONE, TRUE));
by fremen
Thu Jun 30, 2005 10:45 pm
Forum: NWN Scripting
Topic: casting spells at objects
Replies: 11
Views: 17196

well if the target is the trigger itself using two waypoints would probably be easier to get the origin and the target of the spell set just right. I'm at work so this probably won't work but it should be close... object oOriginWP = GetObjectByTag("ORIGIN_WP"); object oTargetWP = GetObjectByTag("TAR...
by fremen
Thu Jun 30, 2005 10:29 pm
Forum: NWN Scripting
Topic: casting spells at objects
Replies: 11
Views: 17196

what kind of spell? If it's something like magic missle where do you want it to originate from?

I also think that if a trigger is going to cast it at itself you need to use: ActionCastSpellAtLocation().
by fremen
Wed Jun 22, 2005 10:48 pm
Forum: NWN Scripting
Topic: counting deaths
Replies: 5
Views: 10127

Whenever a creature dies it speaks a silent string that you should be able to use GetListenPatternNumber(); function to retrieve. I'm not sure if this will work for what you want though, because as far as I know it would require an invisable creature and you can't determine the specific creature tha...