Search found 7 matches
- Wed Nov 09, 2005 11:24 pm
- Forum: Avlis News
- Topic: Taking submissions for first issue of new online magazine
- Replies: 5
- Views: 5670
- Wed Oct 26, 2005 10:39 pm
- Forum: NWN General Discussion
- Topic: Which is better summons to take....
- Replies: 20
- Views: 15692
- 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...
- 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));
- 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...
- Thu Jun 30, 2005 10:29 pm
- Forum: NWN Scripting
- Topic: casting spells at objects
- Replies: 11
- Views: 17196
- 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...