Rejn 0 Posted June 12, 2007 I have a couple of spawn scripts etc.. just a quick question.. is it better to have units spawn at say (position _positionname) or at say (getpos _positionname) I use gamelogics for positions. I have one game logic called ven1 for example and when i want spawn places to change mid mission I have a trigger for ven1=another game logic name can this cause problems in any way? Thanks. Share this post Link to post Share on other sites
Op4 BuhBye 0 Posted June 12, 2007 I dont know about anyone else but I always use the "setpos" command for that. Share this post Link to post Share on other sites
Maddmatt 1 Posted June 12, 2007 They are both exactly the same. No idea why we have them both. Share this post Link to post Share on other sites
maddogx 13 Posted June 12, 2007 They are both exactly the same. No idea why we have them both. getPos is the older version, position was introduced later. No idea why. There also used to be setDammage and setDamage was introduced later (setDammage being a typo). Both have the same function though. It's not uncommon for there to be several different commands with the same function in a programming language. It's called an alias. Share this post Link to post Share on other sites