func_const with start_built


(neotic) #1

I’ve looked on the forum but I couldn’t find this discussed anywhere. If it is, just link me and ignore this thread. :smiley:

Anyways, I have a func_const with start_built selected, however the building materails are still visible and at this point and I’d like to make them invisible till someone blows up the func_const. Am I missing something or do they have to be there? Thanks!

This is for isle, after a few full servers on the beta the other night… expect the final to be out shortly. :clap:


(sock) #2

There is an undocumented command which will build single-stage constructions from the script. Check out this thread and my replies:

http://www.splashdamage.com/forums/viewtopic.php?t=3568&highlight=undocumented+command

Sock


(neotic) #3

When trying to use the construct command, like below, I learned that its looking not for the track but the targetname. When I supplied it with a targetname it crashed ET.

	spawn
	{
		wait 200
		trigger gate_obj setup
		setstate gate_materials invisible
		setstate gate_materials_clip invisible
		setstate gate_flag invisible
      	      	construct gate_target

		constructible_class 3
	}

Exchanging construct with

setstate gate default

it was just totally fucked up. Heh, so unless you can steer me clear… just tell me it can’t be done and I’ll sit down. :smiley:


(sock) #4

well it was an undocumented command for a good reason. :wink: It can sometimes not behave the way it should. Always make the construct command last in the spawn function. (Move the contruction type higer up) Also try this on a very simple construction first.

If it is still causes problems, I will dig out my sample map when I get home and see what happens on my setup.

Sock
:moo: