no obj

Discussion for Admins of ETPro/BayonET servers.
If you don't run a server, please don't post here...

Moderators: Forum moderators, developers

Post Reply
c0m4r
Posts: 22
Joined: Wed Oct 12, 2005 4:17 am
Contact:

no obj

Post by c0m4r »

Hi,

I'll eliminate objectives on my server.
But I have a problem. Map Frostbite.

There we have etpro mapscript and line when map is end.

trigger allies_transmit
{
wm_announce "The Allies have transmitted the Supply Documents!"
wm_setwinner 1
wait 1500
wm_endround
}
I've removed these lines:
wm_setwinner 1
wait 1500
wm_endround
But sometimes obj finish map, and sometimes not.
I don't know what is wrong. Any idea?

p.s. sorry for my poor english.
Igloo
Posts: 81
Joined: Sat Jan 07, 2006 6:23 am
Location: Poland
Contact:

Post by Igloo »

Hello,

If you have the newest frostbite mapscript, change this:

Code: Select all

transmitter
{
	death
	{
		trigger game_manager allies_transmit
	}
}
to that:

Code: Select all

transmitter
{
	spawn
	{
		remove
	}
}
MAYBE also remove the icon which shows on command map that here's transmitter, the TOI area ("you are near transmitter"), even delete the docs permanently. Depends on what do you want to have :wink: Hope I wrote you this correctly^^

Greetings,
Igloo
c0m4r
Posts: 22
Joined: Wed Oct 12, 2005 4:17 am
Contact:

Post by c0m4r »

nothing
Igloo
Posts: 81
Joined: Sat Jan 07, 2006 6:23 am
Location: Poland
Contact:

Post by Igloo »

This command should remove the area to "transmit" the obj. If not, remove the docs and they won't exist:

Code: Select all

docs
{
   spawn
   {
      remove
   }
}
You need to replace the standard code :wink:

And I hope it's executed:

Code: Select all

set b_mapscriptdirectory "etpromapscripts"
Greetings,
Igloo
c0m4r
Posts: 22
Joined: Wed Oct 12, 2005 4:17 am
Contact:

Post by c0m4r »

Igloo wrote:This command should remove the area to "transmit" the obj. If not, remove the docs and they won't exist:

Code: Select all

docs
{
   spawn
   {
      remove
   }
}
Nothing too :-)
You need to replace the standard code :wink:

And I hope it's executed:

Code: Select all

set b_mapscriptdirectory "etpromapscripts"
Greetings,
Igloo
Image

I removed wm_endround and change set winner. That's is helped.
Igloo
Posts: 81
Joined: Sat Jan 07, 2006 6:23 am
Location: Poland
Contact:

Post by Igloo »

I removed wm_endround and change set winner. That's is helped.
So, if not removed on spawn, then by delete it would work:

Code: Select all

      delete
      {
         scriptname "transmitter"   
      }
Many possibilities to remove the objective :wink:

Greetings,
Igloo
Post Reply