Gold Boxes as Flags Not Showing Up


(swaggers) #1

I am trying to flags to work ala mp_silllyctf and radar.

The command map icon won’t come up.
The goldbox doesn’t come up in the map.
The target works as I see the Near text.

These are my setting.


(lennyballa) #2

How about making it for on team?
and select for example only_allied. Try it, i havent used the flag stuff yet :stuck_out_tongue:


(sock) #3

Remove the “targetname” from the “team_CTF_redflag” entity. If you have a “targetname” on the entity it will start invisible until triggered either via the script or by a “trigger_always” for example.

Setup the script as follows if you require the “targetname” key on the entity.

supplies_scr
{
	spawn
	{
		wait 200
		alertentity supplies_scr
	}
}

Sock
:moo:


(swaggers) #4

thanks sock.

I was doing the targetname/scriptname thing based on the advice given here that doing that is just easier incase you need it.

Any other instances where you’d want to just use one??


(sock) #5

TBH it surprised me too, because we had always been told/shouted at to create targetname/scriptname combinations for all entities. It took me several test maps to find this problem in the first place. We suspected it might had been a spawnflag issue with the “team_CTF_redflag” entity but it looks like it only affects this entity type. (Also the blueflag as well)

Sock
:moo: