Beginning of Round Scripting

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

Moderator: Core Staff

Post Reply
Soviet
Core Staff
Core Staff
Posts: 7760
Joined: April 23rd, 2005, 9:12 pm
Location: Plano, Texas
Contact:

Beginning of Round Scripting

Post by Soviet » August 13th, 2008, 5:13 pm

Is there any way to make an event occur at the beginning of every round in a gametype like Search and Destroy or Sabotage?
Image
ImageImageImage
Image
"Zaitsev is a cunt." - Pedsdude

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

Re: Beginning of Round Scripting

Post by Drofder2004 » August 13th, 2008, 7:16 pm

if(getDvar("g_gametype") == "sd")
//do event
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

Dizzy
CJ Fan
CJ Fan
Posts: 143
Joined: May 8th, 2008, 11:45 pm
Location: Colorado, US
Contact:

Re: Beginning of Round Scripting

Post by Dizzy » August 14th, 2008, 12:17 pm

Just for the record guys



Drofder your a genius...
Image
"I am also know as lethal323" - Myself
Xfire = Dizzymagoo

Soviet
Core Staff
Core Staff
Posts: 7760
Joined: April 23rd, 2005, 9:12 pm
Location: Plano, Texas
Contact:

Re: Beginning of Round Scripting

Post by Soviet » August 14th, 2008, 4:36 pm

obviously. That is common knowledge.
Image
ImageImageImage
Image
"Zaitsev is a cunt." - Pedsdude

User avatar
[SoE]_Zaitsev
Core Staff
Core Staff
Posts: 14220
Joined: October 21st, 2004, 7:17 pm
Location: Holland
Contact:

Re: Beginning of Round Scripting

Post by [SoE]_Zaitsev » August 14th, 2008, 4:43 pm

Yeh, don't even need to tell him, he already knows.

/worship
matt101harris wrote:big cock was the first thing that came to my head lol

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests