How do I keep monsters in the area they spawn in?
-
- Newbie Helper
- Posts: 335
- Joined: Tue Jun 29, 2010 6:08 am
How do I keep monsters in the area they spawn in?
Greetings ye who have the answers,
How do I keep monsters in the area they spawn in?
We are having some trouble testing my new run because the monsters are following us through standard transitions...
I noticed yours don't
if this is some secret sauce, can you at least point me to an equivalent solution in the Vault so we can continue testing
thanks,
DZ
How do I keep monsters in the area they spawn in?
We are having some trouble testing my new run because the monsters are following us through standard transitions...
I noticed yours don't
if this is some secret sauce, can you at least point me to an equivalent solution in the Vault so we can continue testing
thanks,
DZ
My attitude toward men who mess around is simple: If you find 'em, kill 'em!
Re: How do I keep monsters in the area they spawn in?
Deal with in the AI (which is a horrid mess out of box) or look at nw_g0_transition and its lengthy description. Then be thankful they exposed that to script
Tep wrote:I login and there's a dwarf to kill. You can't ask for much more than that.
Alkapwn wrote:NC has the most amazing melee build there is. Its a friggin unstopable juggernaut of pain.
Re: How do I keep monsters in the area they spawn in?
Put something like this in your transition script:
Code: Select all
if(!GetIsPC(oPC))
{
if(!GetIsPC(GetMaster(oPC)))
{
AssignCommand(oPC, ClearAllActions());
}
}
Bargeld wrote:Overall, I think most would agree that a pure rogue is probably the worst build on the server.
-
- Relic Raider
- Posts: 820
- Joined: Thu Jan 15, 2009 7:55 pm
Re: How do I keep monsters in the area they spawn in?
Among other issues, the NS4 system prevents a form of griefing. Where a high level toon lures a high level npc into a lowbie populated zone.
Nothing like crossing the pelanor fields to find Sarumon and half a dozen top tier white hand orcs camped along the road.
Nothing like crossing the pelanor fields to find Sarumon and half a dozen top tier white hand orcs camped along the road.
Twig (TSS) - Twig [CLAD] - Twigs -Fury- - SyNfully Rotted Twig - Twig'lee -Down Under- - Twig'zilla
Fergus Glonshire [FoN] - Sakij Lovac [FoN] - Zatharus Rivermoon (TSS) - Bumble (TSS) - Body built for SyN
Fergus Glonshire [FoN] - Sakij Lovac [FoN] - Zatharus Rivermoon (TSS) - Bumble (TSS) - Body built for SyN
Re: How do I keep monsters in the area they spawn in?
NPCs that teleport can still trans if they time it right. Other mobs using a few unique/rare actions can do it too. I think it's all in the timing (at least in the NS4 cases i've seen).
Death Dealers ::DD::
Laufer - Gemetzel - Force - Little Fist - Egil - Torture - Hatshepsu - Nemesis - Hierophant - Supernaut - Flesh Hound - Insurrection - Antithesis - Dead of Winter - Volcanus 2000
Laufer - Gemetzel - Force - Little Fist - Egil - Torture - Hatshepsu - Nemesis - Hierophant - Supernaut - Flesh Hound - Insurrection - Antithesis - Dead of Winter - Volcanus 2000
Re: How do I keep monsters in the area they spawn in?
Correct.Bargeld wrote:NPCs that teleport can still trans if they time it right. Other mobs using a few unique/rare actions can do it too. I think it's all in the timing (at least in the NS4 cases i've seen).
Bargeld wrote:Overall, I think most would agree that a pure rogue is probably the worst build on the server.
-
- Newbie Helper
- Posts: 335
- Joined: Tue Jun 29, 2010 6:08 am
Re: How do I keep monsters in the area they spawn in?
Greetings all!
Thanks for the responses... the code below seems to be working so far, but haven't tested much yet
at your service,
DZ
Thanks for the responses... the code below seems to be working so far, but haven't tested much yet
Code: Select all
void main()
{
object oClicker=GetClickingObject();
if(!GetIsPC(oClicker))
{
return;
}
at your service,
DZ
My attitude toward men who mess around is simple: If you find 'em, kill 'em!
-
- Newbie Helper
- Posts: 335
- Joined: Tue Jun 29, 2010 6:08 am
Re: How do I keep monsters in the area they spawn in?
update...
the code below makes the doorway unuseable
as did the first attempt...
anyway... gonna go search the Vault... bound to be something there I can use...
at your service,
DZ
the code below makes the doorway unuseable
Code: Select all
void main()
{
object oPC = GetClickingObject();
if(!GetIsPC(oPC))
{
if(!GetIsPC(GetMaster(oPC)))
{
AssignCommand(oPC, ClearAllActions());
}
}
anyway... gonna go search the Vault... bound to be something there I can use...
at your service,
DZ
My attitude toward men who mess around is simple: If you find 'em, kill 'em!
Re: How do I keep monsters in the area they spawn in?
That can't be the *only* code you have there
Append it to the bioware stuff or add some general handling.
Append it to the bioware stuff or add some general handling.
Bargeld wrote:Overall, I think most would agree that a pure rogue is probably the worst build on the server.
-
- Newbie Helper
- Posts: 335
- Joined: Tue Jun 29, 2010 6:08 am
Re: How do I keep monsters in the area they spawn in?
ahhhhhhh... now I get itThat can't be the *only* code you have there
my old COBAL brain keeps trying to sabotage my new NWScript brain...
thanks...
DZ
My attitude toward men who mess around is simple: If you find 'em, kill 'em!
Re: How do I keep monsters in the area they spawn in?
Unfortunately it's only natural, what isn't natural is the way C++ works. Or whatever they are using as language. (hint) Delphi would be so much more intuitive (hint)
Aiya Mielikki! CELEB ALCONTARI CUYO ANANN!
For the Glory of Torm! Clericus Liberatus Anno Dominis - Gloria Triadis!
Re: How do I keep monsters in the area they spawn in?
Its fairly intuitive - there's not much which I went "wtf that makes no sense" while I was learning it.Nyeleni wrote:Unfortunately it's only natural, what isn't natural is the way C++ works. Or whatever they are using as language. (hint) Delphi would be so much more intuitive (hint)
Bargeld wrote:Overall, I think most would agree that a pure rogue is probably the worst build on the server.
-
- Newbie Helper
- Posts: 335
- Joined: Tue Jun 29, 2010 6:08 am
Re: How do I keep monsters in the area they spawn in?
you are so right... ppl usually view things through their "native" or first learned language I'm sureUnfortunately it's only natural,
I miss gosubs
hehe
My attitude toward men who mess around is simple: If you find 'em, kill 'em!
-
- Relic Raider
- Posts: 820
- Joined: Thu Jan 15, 2009 7:55 pm
Re: How do I keep monsters in the area they spawn in?
Delisha Zrazorian wrote:you are so right... ppl usually view things through their "native" or first learned language I'm sureUnfortunately it's only natural,
I miss gosubs
hehe
Ohh Lord, next your be lamenting over the infrequent use of the abacus in this new fangeled world.
Love ya
Twig (TSS) - Twig [CLAD] - Twigs -Fury- - SyNfully Rotted Twig - Twig'lee -Down Under- - Twig'zilla
Fergus Glonshire [FoN] - Sakij Lovac [FoN] - Zatharus Rivermoon (TSS) - Bumble (TSS) - Body built for SyN
Fergus Glonshire [FoN] - Sakij Lovac [FoN] - Zatharus Rivermoon (TSS) - Bumble (TSS) - Body built for SyN
Re: How do I keep monsters in the area they spawn in?
HEY! The abacus has been a great innovation, and been used for thousands of years. Don't diss it only because you can't appreciate it's simplicity and impact on the world (although I'm joking with you shadowalker, the above is still true ).
Aiya Mielikki! CELEB ALCONTARI CUYO ANANN!
For the Glory of Torm! Clericus Liberatus Anno Dominis - Gloria Triadis!