Script command for not doing anything

Have questions about CoD2 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: Script command for not doing anything

Post by Rezil » January 27th, 2009, 5:48 pm

Well it seems I'm going to have to rethink the way I want the guy to be taken away from the player. I'll probably go with Nightmares suggestion but i'll use a trigger_once since I'm going to make a singleplayer(but in codmp) map.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Re: Script command for not doing anything

Post by Nightmare » January 27th, 2009, 9:42 pm

Like nm_jungle and nm_jungle_2 eh?

In both of those maps I used a trigger around the spawn.
Don't forget a trigger once will only work once, and never again.
This is just me and liking more options, but I would rather have it a multiple which will run in a loop until a certain other thing happens.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: Script command for not doing anything

Post by Rezil » January 28th, 2009, 5:09 pm

Ye but since I'll have certain script events which will only be for one player and I'll give him a weapon later on, a trigger_once fits better here.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Script command for not doing anything

Post by Drofder2004 » January 29th, 2009, 3:58 am

I think for simplicity, stick with trigger_multiple. A trigger_once as said, only triggers once, if that trigger fails to set off the code, map must be restarted. To avoid any complications. Go with a multiple.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Re: Script command for not doing anything

Post by Nightmare » January 29th, 2009, 4:03 am

Thanks for the echo, Drof. :D
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Script command for not doing anything

Post by Drofder2004 » January 29th, 2009, 6:47 am

Nightmare wrote:Thanks for the echo, Drof. :D
Reinforcement, not echo >.<
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest