BioWare Atari
BioWare Info BioWare Games Support Forums Visit the BioWare Store
Neverwinter Nights Home
Neverwinter Nights Home

NWN 1: Scripting

New Topic    Post Reply


    Add this To My Topics

   Go To Bottom

Author OnPerc Fireball
Warington Admin
Game Owner
Profile: Warington AdminNWN
NWN: SoU
NWN: HotU
Jade Empire:SE


Joined: 16 Feb 2008
Posted: Thursday, 05 November 2009 08:03AM
I made this script with help from lilac souls. The creature it goes on is immobile. It's sight range is long. First, it doesn't seem to work at all. Second I was wanting to add so that the creature will cast a fireball every other round.

Any help would be great.

NWScript:

View Post/Code in separate window


_________________
Mysteries of Warington. Come join the fun! http://warington.yolasite.com/
  Profile: Warington Admin   Send Message To: Warington Admin
Axe Murderer
Game Owner
Profile: Axe MurdererNWN
NWN: SoU
NWN: HotU


Joined: 16 Jun 2003
From: California U S A Red, White, & Bluuu
Posted: Friday, 06 November 2009 12:42AM
Clear caster's action queue before you try to load it up with the action cast. Don't use the instant cast parameter if you want to see visual effects. When you use instant cast only the spell effects are generated (i.e. no flying fireball just the explosion damage).
  Profile: Axe Murderer   Send Message To: Axe Murderer
Warington Admin
Game Owner
Profile: Warington AdminNWN
NWN: SoU
NWN: HotU
Jade Empire:SE


Joined: 16 Feb 2008
Posted: Friday, 06 November 2009 05:05AM
You mean something like this:

NWScript:

View Post/Code in separate window



I do like the PC not to know where the fireball comes from. Keeps them guessing.
_________________
Mysteries of Warington. Come join the fun! http://warington.yolasite.com/
  Profile: Warington Admin   Send Message To: Warington Admin
Axe Murderer
Game Owner
Profile: Axe MurdererNWN
NWN: SoU
NWN: HotU


Joined: 16 Jun 2003
From: California U S A Red, White, & Bluuu
Posted: Friday, 06 November 2009 10:25AM
If the creature shooting the fireball is the same one you have the script hooked to then you don't need the AssignCommand:
NWScript:

View Post/Code in separate window


otherwise you need to clear the caster's actions:
NWScript:

View Post/Code in separate window

Edited By Axe Murderer on 11/06/09 10:25

  Profile: Axe Murderer   Send Message To: Axe Murderer
Warington Admin
Game Owner
Profile: Warington AdminNWN
NWN: SoU
NWN: HotU
Jade Empire:SE


Joined: 16 Feb 2008
Posted: Friday, 06 November 2009 07:24PM
It is the first one. Thank you!

You make it look so easy.

Thank you again for the great help!
_________________
Mysteries of Warington. Come join the fun! http://warington.yolasite.com/
  Profile: Warington Admin   Send Message To: Warington Admin

New Topic    Post Reply

What do these icons mean?
Where can I learn how to use the forums?

Jump To:

Search Forums | Forums FAQ | Forum Archives

 

 

Mass Effect Galaxy
Neverwinter Nights 2 Forums
Hide/Show

English
Deutsch
Français
Español
Italiano

Hide/Show

View Latest Screenshots 

View Latest Screenshots
Hide/Show

Multiplayer Games at Neverwinter Connections

Today
Schedule a Game...



Current time is: (set time)
Sun, 22 November 2009 09:10AM

Hide/Show

Buy Premium Modules

Top NWN: HotU Modules:
1. Good vs Evil III
2. More...

Top NWN: SoU Modules:
1. Good vs Evil III
2. More...

Top CEP Modules:
1. The Lord of Terror The Diablo Campa...
2. More...

Top Modules - NWVault:
1. Hall of Fame
2. More...

Total Modules: 4423

Hide/Show

5,052,460 BioWare Users:
  31 Logged In
  3 Hidden
  140 Guests

719 Playing Online
  100% NWN
  99% NWN: SoU
  100% NWN: HotU

444 Registered Guilds

8,768,815 posts in forums

Newest Forum Topics:
1. Transfering Shepard's appearance (Mass Effect 2 General Discussion (No Spoilers Allowed))

2. Jade Empire's History (Jade Empire Xbox General Discussion (Spoilers Will Be Moved))

3. can't change language (Web Site Help)

4. which script launches the crafti... (NWN 1: Scripting)

5. Killing Morag (NWN 1: General Discussion (No Spoilers Allowed))