Author Topic: Request  (Read 5827 times)

Offline Summit

  • Newbie
  • *
  • Posts: 24
    • MSN Messenger - Slickmeade@hotmail.com
    • Yahoo Instant Messenger - Slickmeade@yahoo.com
    • View Profile
    • http://www.summit.nwnkodclan.com
    • Email
Request
« on: October 02, 2004, 09:32:45 PM »
Any way I could get one of you really good scripters to make me a Duel Manager? I can script half way descent, but I cant make that. Any Help would be greatly appreciated!! :blink:

Offline 420

  • Hero Member
  • *****
  • Posts: 4087
    • View Profile
    • Email
Request
« Reply #1 on: October 04, 2004, 01:34:41 PM »
Quote
Any way I could get one of you really good scripters to make me a Duel Manager? I can script half way descent, but I cant make that. Any Help would be greatly appreciated!! :blink:
[snapback]8101[/snapback]

I scripted a duel manager system for DE's server awhile back, I'll just send you that one in a private message. Or I will just post it here, it consists of 4 or 5 scripts I believe, including OnClientEnter and OnClientLeave scripts.

It may take me awhile to track all the scripts down, so give me a few hours.

-420
« Last Edit: October 04, 2004, 01:34:59 PM by 420 »

Offline Summit

  • Newbie
  • *
  • Posts: 24
    • MSN Messenger - Slickmeade@hotmail.com
    • Yahoo Instant Messenger - Slickmeade@yahoo.com
    • View Profile
    • http://www.summit.nwnkodclan.com
    • Email
Request
« Reply #2 on: October 04, 2004, 05:41:25 PM »
Ok mate, I really appreciate it!  :D

Offline Illutian

  • Who knows what evil lurks in the hearts of Man...
  • Hero Member
  • *****
  • Posts: 891
  • The Legend Begins...
    • View Profile
    • Illutian
    • Email
Request
« Reply #3 on: October 06, 2004, 04:35:42 AM »
:unsure: um...i was wondering if some1 would be kind to tell me wear i put the item i want to have this Unique Power *sorry for length*
also...where the heck do ya put the "New" DC check so that NO ONE can resist the 3 spells?
*btw: the Item i plan on using is called Stone of Power ; Tag = stoneofpower   **cowers, dun hurt me Talon**


/*   Script generated by
Lilac Soul's NWN Script Generator, v. 1.6

For download info, please visit:
http://www.lilacsoul.revility.com    */

void main()
{
object oPC;

if (!GetIsPC(GetItemActivatedTarget())
|| (GetObjectType(GetItemActivatedTarget())!=OBJECT_TYPE_CREATURE)
){

return;}

oPC = GetItemActivator();

object oTarget;
oTarget = GetItemActivatedTarget();

effect eEffect;
eEffect = EffectDazed();

ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget);

oTarget = GetItemActivatedTarget();

eEffect = EffectParalyze();

ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget);

oTarget = GetItemActivatedTarget();

eEffect = EffectStunned();

ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget);

}
Our greatest glory is not in never falling but in rising everytime we fall.

Offline 420

  • Hero Member
  • *****
  • Posts: 4087
    • View Profile
    • Email
Request
« Reply #4 on: October 06, 2004, 03:23:54 PM »
Sorry about not posting the "Duel Manager" scripts yet, I been busy, I'll try to put them up today.

Khadgar, the item with the Unique Power property doesn't have to be in any specific place in the custom items menu.

Just make sure the script has the same name as the tag of the item and make sure Tag Based Scripts is enabled in the OnModuleLoad event trigger in the module properties. (Modules built before HotU was released will not have the default OnModuleLoad script)

The effects in the above script will apply themselves without any save checks, you must script save checks yourself. (See one of the NWN spell scripts for an example)

Monks that are immune to mind affecting spells/effects will not be affected by the daze or the stun. Freedom of Movement may prevent paralyze from working, but you'll have to test to be sure.

Oh, and don't forget to delete any items with a tag that is the same as your unique power item tags OnClientEnter. This will prevent people from just making a Stone of Power and bringing it into your mod.

-420

Offline Illutian

  • Who knows what evil lurks in the hearts of Man...
  • Hero Member
  • *****
  • Posts: 891
  • The Legend Begins...
    • View Profile
    • Illutian
    • Email
Request
« Reply #5 on: October 07, 2004, 07:15:26 AM »
i'm using the Weath System script to help me

\o/ i can paralyze myself now  :P

*huggles Lilac Srcipt Gen*
Our greatest glory is not in never falling but in rising everytime we fall.