Attachtotag: What is a tagname?


(MCEmperor) #1

I want a trigger_multiple to move together with a script_mover. I read it can be done with attachtotag. The Enemy Territory Scripting Reference describes attachtotag:

attachtotag <targetname> <tagname>
Connect this entity onto the tag of another entity.

But what is a tagname exactly, and how to use it?


(murka) #2

a tag is a triangle on a model with a name… dont know exactly how to create one, but search should help.


(kamikazee) #3

attachtotag is usefull for models or entities having a model to be linked to eachother. The tagname is the name of one of the tags inside the model, so they can be used to attach something to it.

If your script_mover has no model but you still want to attach something to it, you could try to generate an MD3 “dummy file” over at Chruker’s MD3 Tag The Dummy page.


(MCEmperor) #4

So I need to create a dummy model to connect entities with different classnames…
Okay, let’s try it!


(MCEmperor) #5

By the way, is there another way to let entities move with classnames other than script_mover?


(Flippy) #6

Depends on which movement you need… I’m assuming you need to control the movement, via script for example? Then afaik you have to use tags.
But a func_rotating or func_bobbing etc are all entities (with brushes) that move… Don’t think you mean that though :stuck_out_tongue: