I am trying to make it so that on key press h, an entity named KT appears at the origin of the map with the script called troop attached to it. I have looked it up in the manual and found that it is
ent_create (STRING* filename, VECTOR* position, function);
so I created the lines of code at the end of my main fuction like so:
on_h=ent_create (KT.mdl, 0,0,0, troop.wdl);
but it gives me an error saying too many parameters. I have a feeling I am misunderstanding the VECTOR position and function parts of the code.