I am somewhat new to scripting, but there is something I want to do in a single player map I'm creating that may or may not even be possible. I want a trigger to "enable", or "activate", or even "create" two entities, a teleport and a particle. Before the player activates the trigger, the entities must be "inactive" or maybe not even there.
I am familiar with the trigger test map from the cube wiki in which the command "beam_me" switches you into edit mode, places a teleport, and leaves edit mode, but this is hardly what I want to do. I don't want the player to enter edit mode, and I want the teleport and the entity to be placed in a specific spot, not right in front of you like in the trigger test map.
Is there some kind of script I can use to make a trigger activate an entity or place an entity in an exact location?