Ok, but where is the erf package?
[snapback]8345[/snapback]
DAMMIT! It says I attach it then it doesn't show up!!
Xen, fix it!!!!
-420
would there be a way to script it to work in only certain areas
*has a OnRespawn script that's SUPPOSE to transport you to a temple*
[snapback]8359[/snapback]
OK, I posted the file as a .zip (thanks for the tip Khadgar).
Yes, the duel manager only works in the areas that you specify in the "duelitem" and "ondeath" scripts. You'll probably want to alter your "OnRespawn" script so that players don't go to the temple if they died in an arena.
EDIT: Correction, if you add the area tags to the OnDeath script your shouldn't have to alter the OnRespawn, my bad. The OnDeath script makes it so that you auto resurrect 1 round (6 seconds) after you die in an arena area, so the OnRespawn never fires.
-420
um...how would you combine the two scripts?
[snapback]8471[/snapback]
Hmm try this, I just pasted your code to the end and changed all the "oPC" to "oTarget".
-420
here's the scripts that are currently in either the Module or Area:
[snapback]8598[/snapback]
Alright I combined the OnClientEnter script and the OnAreaExit scripts with the Duel Management System scripts.
I also included a 420s Notes.txt file with some details.
You will still need to import the other Duel Management System erf from the original post into your mod.
-420
Uhm is it me or are all those dowload files broken?
[snapback]9506[/snapback]
All files uploaded to LM before it went down are no longer available.
I'll repost these files soon.
-420
could somewone make a duell manager script that also works on basic nwn and not only on hotu?
cuz on normal nwn the toosel almost doesn't recognize any of the code...
[snapback]11567[/snapback]
Eeh? 420's duel manager works fine on a non hotu / non sou mod. It isn't 'the' perfect duel manager but it's very nice and works.
-Mel
i get an error at abouth evry line using this script...
and it worked fine on my other pc with hotu
[snapback]11573[/snapback]
Now I saw this script running on a server whitout hotu/sou. Maybe it's the version of the toolset you use. Is it 1.62/1.64 or something like 1.29? But still I don't think it won't run.
-Mel
i get an error at abouth evry line using this script...
and it worked fine on my other pc with hotu
[snapback]11573[/snapback]
Now I saw this script running on a server whitout hotu/sou. Maybe it's the version of the toolset you use. Is it 1.62/1.64 or something like 1.29? But still I don't think it won't run.
-Mel
[snapback]11575[/snapback]
lol thx for telling me that...
lets update nwn...
edit: lolz v.1.11!!
i get an error at abouth evry line using this script...
and it worked fine on my other pc with hotu
[snapback]11573[/snapback]
Now I saw this script running on a server whitout hotu/sou. Maybe it's the version of the toolset you use. Is it 1.62/1.64 or something like 1.29? But still I don't think it won't run.
-Mel
[snapback]11575[/snapback]
lol thx for telling me that...
lets update nwn...
edit: lolz v.1.11!!
[snapback]11576[/snapback]
If it works afther a update, give me a sign. I like to know if that fix it.
-Mel
ok it works now thx a lot mel!!
next problem :P :
the script name is manager and the duell manager system works.
but i also have a boot and kill item for admins that has to be in the onactivateitem part.
but the kill and boot items both act like the duel manager now...
this is the script:
void bootkill()
{
object oCaller = GetItemActivator();
object oTarget = GetItemActivatedTarget();
object oItem = GetItemActivated();
string sTag = GetTag(oItem);
if (sTag == "bootcodem1")//YOU CAN CHANCE THIS TAGG OF A ANOTER.
{
DelayCommand(0.5,BootPC(oTarget));
}
if (sTag == "killcodem1")//YOU CAN CHANCE THIS TAGG OF A ANOTER.
{
effect eDeath= EffectDeath(TRUE);
DelayCommand(0.5,ApplyEffectToObject(DURATION_TYPE_INSTANT,eDeath,oTarget));
}
}
void main()
duel manager script...
[snapback]11583[/snapback]
First, you're sure the tag of the item to boot whit is 'bootcodem1' and to kill whit is 'killcodem1'? Second, you run the duel manager in void main(). This is the place the script starts and ends. If you didn't add somthing in void main() to say to run the duel manager when the tag is 'manager' or to run boot when the tag is 'bootcodem1' it will alwyas run the duel manager.
I would do it like this, add this in the onactivate event of the module:void main()
{
ExecuteScript(GetTag(GetItemActivated()), GetItemActivator());
}
Then name the duel manager script exactly the same as the tag it has. Same for the kill/boot items. It should know what script to run then.
-Mel