EasyC87 10 Posted December 30, 2009 definitely new to this, or any other forum but have been playing this game i think since i bought cold war crisis new when it came out. might sound stupid but i cannot figure out or find any threads or websites regarding any information on how the hell to use object id's to get the ai to holdout say in a house or hangar etc. or at least just start in some position. and also could use some help figuring out how to do the artillery loops for wwi and wwii mods. im a big user and home editor and i play cwmod, wwi and ii, nam, and the desert combat packs, yet im not very good at this. thanks!!! :) Share this post Link to post Share on other sites
ww2weasel 10 Posted December 31, 2009 (edited) object id's if not familiar with them are the numbers that show up when show ids is selected in mission editor... To have a unit move to a bush - say the bush's object id is 3456 unit doMove getPos object 3456 A helpful resource: http://www.ofpec.com/COMREF/index.php?action=details&id=34&game=All ---------- Post added at 01:44 PM ---------- Previous post was at 01:37 PM ---------- loops in general with anyscript.sqs Below is an example of a count down loop - starts at _i = 30 and exits the script when _i = 0. _i=30 #start ?_i=0:exit _i=_i-1 comment "Whatever the Commands you want artillery to be go here..." ~5 goto "start" As far as specifically wanting something more done other than a countdown - you may want to give a little bit more explanation - so others can help... ---------- Post added at 01:48 PM ---------- Previous post was at 01:44 PM ---------- links to opflash commands... Both are good - use which ever you feel more comfortable with.. http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=a http://community.bistudio.com/wiki/Category:Scripting_Commands_OFP_1.96 Edited December 31, 2009 by WW2Weasel Share this post Link to post Share on other sites
EasyC87 10 Posted January 9, 2010 you are the man thank you for the quick response. I just didnt know the correct script or had anywhere near the kind of resources you gave me to get my guys into positions. for artillery i just wanted like an winter ardennes/bastogne wwII type fight in the woods with artillery (say COC's mod unified artillery) coming in an out. a loop for arty got me going in the right direction but its still hard for me to get anything right, i will keep looking at the material though so im sure ill get it. thanks again, a lot it really helps and its good to know people still like this game !! Share this post Link to post Share on other sites
ww2weasel 10 Posted January 9, 2010 When done with your mission - post your link to mission... Love ww2... ;-P Share this post Link to post Share on other sites