misc_commandmap_marker


(Drakir) #1

I have a problem getting my misc_commandmap_marker´s to show on the CM.

In the manual it says how to do it, but when i am looking at how it´s done in goldrush they have a scripname in the misc_commandmap_marker but in the script there´s no such thing as the name that the misc_commandmap_marker is pointing at in the script.

Can anyone explain how to make theese show, i am confused!


(sock) #2

In order to show an icon on the command map you need a “trigger_objective_info” (TOI) entity pointing at either “func_constructible”, “func_explosive”, “misc_commandmap_marker” entities. If you look at the health/ammo cabinets in the sample goldrush map you will see for example they are surrounded by a TOI entity. Also have you remembered to include an origin brush in the TOI entity?

The extra scriptname keys are sometimes required like for example on “script_movers” in order for the map to run. This is regardless if you use the “scriptname” key or not. As a general rule it is good practice to create entities with “scriptname” and “targetname” keys.

Sock
:moo: ing