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.)

Burning Men

Discussion in 'Neverwinter Nights (Classic)' started by Megaman1986, Dec 18, 2002.

  1. Megaman1986 Gems: 2/31
    Latest gem: Fire Agate


    Joined:
    Dec 18, 2002
    Messages:
    27
    Likes Received:
    0
    One thing: If you scroll back a bit, you'll see me saying that I got the doors working.
    My current problem is to make furniture you can actually sit on.
     
  2. Errol Gems: 23/31
    Latest gem: Black Opal


    Joined:
    Oct 23, 2001
    Messages:
    1,547
    Likes Received:
    0
    Gender:
    Male
    Look man, i've told you, Get a scripting guide. There are loads here on SP!

    Anyway, here we go:

    Code:
     
    void main()
    {
       object oChair=OBJECT_SELF;
       AssignCommand(GetLastUsedBy(),ActionSit(oChair));
    }
     
    Stick it in the OnUsed on the chair. Make sure the chair is checked USABLE.
    Anyone who clicks on it will sit on it.
     
  3. Thorin Gems: 9/31
    Latest gem: Iol


    Joined:
    Jan 3, 2002
    Messages:
    303
    Likes Received:
    0
  4. Megaman1986 Gems: 2/31
    Latest gem: Fire Agate


    Joined:
    Dec 18, 2002
    Messages:
    27
    Likes Received:
    0
    I am not talking about NPC's, boy!
    I am talking about chairs PC's can sit on!
    (I've solved that problem too, by the way).

    Hmmm... can I make items made for a specific module work on mine? Like the Emote Wand from Kathra's Temple (anyone ever been on that server)?
     
  5. Errol Gems: 23/31
    Latest gem: Black Opal


    Joined:
    Oct 23, 2001
    Messages:
    1,547
    Likes Received:
    0
    Gender:
    Male
    [​IMG] Look, for 3rd time; get a scripting guide. Yes, you can do that, just import the item IIRC.

    By the way, that sitting script works for BOTH NPC's and PC's, basically. And Thorin there could outscript you anyday... "boy".

    Goph
     
  6. Megaman1986 Gems: 2/31
    Latest gem: Fire Agate


    Joined:
    Dec 18, 2002
    Messages:
    27
    Likes Received:
    0
    Where to get a scripting guide... Hmm...
    I'll start looking then.
     
  7. Errol Gems: 23/31
    Latest gem: Black Opal


    Joined:
    Oct 23, 2001
    Messages:
    1,547
    Likes Received:
    0
    Gender:
    Male
    Thorin's already given you One link. NWVault does a lot, and Sorcerer's Place does a lot more too!

    [ December 23, 2002, 22:10: Message edited by: Gopher ]
     
  8. Megaman1986 Gems: 2/31
    Latest gem: Fire Agate


    Joined:
    Dec 18, 2002
    Messages:
    27
    Likes Received:
    0
    Ah, OK.

    I have another question (please don't shoot me).
    Is it possible to take the (visual) effect from the TimeStop spell, and put them in your module as if they were a placeable?
     
  9. Errol Gems: 23/31
    Latest gem: Black Opal


    Joined:
    Oct 23, 2001
    Messages:
    1,547
    Likes Received:
    0
    Gender:
    Male
    [​IMG] You would make an Invisible Object, then assigna script to it to make it repeat the Time Stop animation, but I don't know how to script it.
     
  10. Thorin Gems: 9/31
    Latest gem: Iol


    Joined:
    Jan 3, 2002
    Messages:
    303
    Likes Received:
    0
    Ok since i am not currently running nwn i cannot give you the exact code. but this should lead you in the right direction

    void main() {
    object oTarget = GetObjectByTag("Waypoint1");
    //Create the new visual effect
    effect eDur = EffectVisualEffect (VFX for timestop);
    //Apply the effect
    ApplyEffectToObject(DURATION_TYPE_INSTANT, eDur, oTarget);

    you could place this in a trigger or the on-enter part of the area
     
Sorcerer's Place is a 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 our time and funds on a regular basis, so please consider supporting us to keep the site up & running smoothly. Thank you!

Sorcerers.net is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to products on amazon.com, amazon.ca and amazon.co.uk. Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.