frankie2spankie 0 Posted April 13, 2004 ok, ive tried many ways to make a unit fire the kozlice. i tried unit fire ["kozlice","kozliceball"] - but it didnt work. Has anyone got any idea how you get a unit to fire this weapon? Share this post Link to post Share on other sites
Rastavovich 0 Posted April 13, 2004 wonder what where the others of many ways? unit fire "kozlice" or unit fire ["kozlice","kozliceball","kozliceball"] might work Share this post Link to post Share on other sites
frankie2spankie 0 Posted April 13, 2004 nah i tried both of those, they didnt work Share this post Link to post Share on other sites
Major Fubar 0 Posted April 13, 2004 unit fire shotshell ? Share this post Link to post Share on other sites
frankie2spankie 0 Posted April 13, 2004 Nope that doesnt seem to work either. This is very frustrating not being able to do something so insignificant! Share this post Link to post Share on other sites
sicilian 0 Posted April 13, 2004 Try unit select weapon "kozlice" infront of your command Share this post Link to post Share on other sites
frankie2spankie 0 Posted April 13, 2004 nope just tried that. The guy just stand there like a melon Share this post Link to post Share on other sites
Rastavovich 0 Posted April 13, 2004 Just out of curiousity, your guy is called unit, isn't he? And does he have the kozlice, and if yes, is it loaded (did you add the kozlice via commands)? Share this post Link to post Share on other sites
frankie2spankie 0 Posted April 13, 2004 no he isnt called unit, he is called "bartender", but ive been tryin out the commands with a Res Hunter. Yes the weapon is loaded. Share this post Link to post Share on other sites
MrZig 0 Posted April 13, 2004 Then change the code from unit to bartender Share this post Link to post Share on other sites
Bart.Jan 0 Posted April 13, 2004 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">unit fire ["kozliceballmuzzle","kozliceball"] and <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">unit fire ["kozliceshellmuzzle","kozliceshell"]tested Look to comref at event handler "fired" description and then look at fire command. When you combine it you can find how to make unit fire from (almost*) any weapon. *I don't know how to make AI fire from A-10's cannon Share this post Link to post Share on other sites