1. SPS Accounts:
    Do you find yourself coming back time after time? Do you appreciate the ongoing hard work to keep this community focused and successful in its mission? Please consider supporting us by upgrading to an SPS Account. Besides the warm and fuzzy feeling that comes from supporting a good cause, you'll also get a significant number of ever-expanding perks and benefits on the site and the forums. Click here to find out more.
    Dismiss Notice
Dismiss Notice
You are currently viewing Boards o' Magick as a guest, but you can register an account here. Registration is fast, easy and free. Once registered you will have access to search the forums, create and respond to threads, PM other members, upload screenshots and access many other features unavailable to guests.

BoM cultivates a friendly and welcoming atmosphere. We have been aiming for quality over quantity with our forums from their inception, and believe that this distinction is truly tangible and valued by our members. We'd love to have you join us today!

(If you have any problems with the registration process or your account login, please contact us. If you've forgotten your username or password, click here.)

Scripting question: ActionCastSpellAtLocation

Discussion in 'Neverwinter Nights (Classic)' started by Xaelifer, Mar 27, 2003.

  1. Xaelifer Gems: 10/31
    Latest gem: Zircon

    Nov 17, 2001
    Likes Received:
    [​IMG] I'm trying to have a statue which, when used, shoots a fireball at a target, which hurts everything near it. I've gotten it to fire, but the fireball won't hurt any enemies standing near the target, or the target itself. I tried an ActionCastSpellAtObject script with correct parameters, but it didn't work either. Here is my current script (sewblow is a waypoint):

    void main()
    ActionCastSpellAtLocation(SPELL_FIREBALL, GetLocation(GetObjectByTag("sewblow")), METAMAGIC_ANY, TRUE, PROJECTILE_PATH_TYPE_DEFAULT, TRUE);

    Thanks for helping!

    [ March 27, 2003, 08:02: Message edited by: Xaelifer ]
Sorcerer's Place is an independent project run entirely by fans and for fans. Maintaining Sorcerer's Place and a stable environment for all our hosted sites requires a substantial amount of time and money on a regular basis, so please consider supporting us to keep the site up & running smoothly. Thank you!