well i've seen two ways of spawning things and i'd like to know which one is more efficient both line-wise and speedwise. the way i normally use is this.
It makes no difference to the script which way is used. Assigning a map reference targetname is just like assigning a local variable reference name. The only difference is that that the local name is only good in the local thread.
That's a good point, which raises another question. You use "$targetname" "entity" in your single line string. I normally use the multiple line method but assign a targetname like so..
local.ent targetname "entity"
Note the missing "$" Is this a common method for AA scripters, I script in SH only and have never done it that way before.
Grassy
yes, that's because i learned to console spawn before i actually scripted. i hacked (not cracked, hacked) together a way to spawn any model into the game provided you knew hte .tik filename. and that's exactly how i did it and i find it pretty effective.
as for the $ i jsut use that because i saw $targetname the first time i started spawning etc and have used it ever since. i also use $targetname in Rad