Extra cmd fuctions e.g. Spawn time... ect... HOW?


(psyco_mario) #1

Extra cmd fuctions e.g. Spawn time… ect… HOW?

i have a working cmdpost in my map, and basic script knowalge

i guess the code goes here:


	trigger enable_cp_features
	{
		setstate allied_cp_open_model default	// Show open CP model

		setchargetimefactor 1 soldier 0.75
		setchargetimefactor 1 lieutenant 0.75
		setchargetimefactor 1 medic 0.75
		setchargetimefactor 1 engineer 0.75
		setchargetimefactor 1 covertops 0.75
               <HERE?>

		sethqstatus 1 1			// Landmines team warning message
		enablespeaker allied_cp_sound		// Enable morse code sound
	}

(Shaderman) #2

What exactly do you want? :eek2:


(nUllSkillZ) #3

Yes you can add any commands in any scriptblock.
So you can change spawntimes in the enable_cp_features-scriptblock.
Put them anywhere in this scriptblock.


(IneQuation) #4

I guess he wants to know what the command for this is.


(S14Y3R) #5
wm_axis_respawntime 15
wm_allied_respawntime 15

these are for changing the spawn times per team.


(psyco_mario) #6

ok thanks