hardrock 1 Posted May 25, 2005 Bonjour fellas. As I'm currently writing a new scripting reference for OFP which will have a complete list of commands, lots of additional information about the commands, a new, user-friendly layout and much more, I stumbled across the question wether to favor the getXXX commands or their equivalents without get. That is: getPos vs. position getDir vs. direction getDammage vs. damage I just wanted to ask since I'll write down a description for one of the both and just refer to it in the other one, which will get new-comers to prefer one over the other. So, please scripters, vote which version you personally prefer and maybe post a comment or another. Thanks for your help! Share this post Link to post Share on other sites
Blanco 0 Posted May 25, 2005 I knew about damage & getdammage, but the others are new to me! Share this post Link to post Share on other sites
raedor 8 Posted May 25, 2005 damage (one m! ), position and direction! is there anything else? i hope the votes of the non-scripters get annuled. Share this post Link to post Share on other sites
dmakatra 1 Posted May 25, 2005 I use the getXXX commands. Dunno why. I didn't even knew about position. Share this post Link to post Share on other sites
D.murphy man 0 Posted May 25, 2005 I didnt even know about direction,position, and dammage Lol, ive always used Getpos,Getdir,and getdammage. So mine being a bias veiw i say keep with the 'Get' commands! Share this post Link to post Share on other sites
.pablo. 0 Posted May 26, 2005 i use the shorter one (damage, getpos, setpos, getdir) Share this post Link to post Share on other sites
Rommel 2 Posted May 26, 2005 I had no idea. I vote for the "gets" cause from what I've heard its more well known. Share this post Link to post Share on other sites
General Barron 0 Posted May 26, 2005 I prefer "get", because it naturally compliments the "set" commands, making them easier for me to remember. getdammage -> setdammage (too bad about the spelling...) getpos -> setpos and so on. I get so used to this system, that I often try to use commands that don't exist! So I try to use commands like "getvelocity" (to compliment 'setvelocity'), "getcombatmode", and others. If it were up to me, I would have all commands fall into get/set pairs, whenever possible. It would make things much simpler, I think. I'm curious about this project of yours though. Any more info about it? Or a demo? Or a release date? Share this post Link to post Share on other sites
raedor 8 Posted May 26, 2005 i can tell you that his project is really worth to wait for it! btw, you already can use damage/getDamage/setDamage, only the EH "dammaged" has not been fixed. just use the commands w/o the get, it fits everywhere, you can't mix it up. you have it all in pairs Share this post Link to post Share on other sites
BadAss -Mapfact.net- 0 Posted May 27, 2005 Really looking forward to it! I'ld prefer the "get" variant 'cause I'm used to use this one a bit more and I see that'll "get" some returns... Share this post Link to post Share on other sites