Sgt.Che 0 Posted June 1, 2004 How can I break a soldiers legs by a script? Quick answer requested. [Please use simple english because my english isn't so good... Â ] Share this post Link to post Share on other sites
void_false 1 Posted June 1, 2004 use setpos command unit1 setpos[getpos unit1 select 0, getpos unit1 select 1, 10] try different values for 3-rd parameter. Share this post Link to post Share on other sites
Sgt.Che 0 Posted June 1, 2004 Thx I already tried this but often it doesn't run on MP. Its really important, that the legs of this player are broken. Isnt there an easy Command? -> That runs. Â Quote[/b] ]"Heat73" createVehicle [(getPos Soldier select 0),(getPos Soldier select 1),-3] Thx for Help. Share this post Link to post Share on other sites
NeMeSiS 11 Posted June 1, 2004 Quote[/b] ]"Heat73" createVehicle [(getPos Soldier select 0),(getPos Soldier select 1),-3] Thx for Help. auch! Share this post Link to post Share on other sites
Sgt.Che 0 Posted June 1, 2004 LOL u're here too? Hehe Nice. Â Share this post Link to post Share on other sites
-STO-Badblood 0 Posted June 1, 2004 Try this setdammage 0.85 or higher - maybe 0.9 Won't actually break a leg - but should make him crawl "heat73" - lmfao Share this post Link to post Share on other sites
InqWiper 0 Posted June 2, 2004 soldier setpos [getpos soldier select 0,getpos soldier select 1,0.1];soldier setvelocity [0,0,-15] or something like that. Ive had problems with camcreating shells in the ground before, they seemed to end up at different altitude depending on the terrains height over the sea. Share this post Link to post Share on other sites
void_false 1 Posted June 2, 2004 setvelocity doesnt work with men class. Share this post Link to post Share on other sites
InqWiper 0 Posted June 2, 2004 Quote[/b] ]setvelocity doesnt work with men class. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">soldier setpos [getpos soldier select 0,getpos soldier select 1,0.1];soldier setvelocity [0,0,-15] Works perfect to make the soldier break his legs. Make it activated by a trigger after the unit had moved, it wont work before you move for some reason. Share this post Link to post Share on other sites
void_false 1 Posted June 2, 2004 moved? you mean order him to go somewhere? Share this post Link to post Share on other sites
MrZig 0 Posted June 2, 2004 Woah, <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">soldier setpos [getpos soldier select 0,getpos soldier select 1,0.1];soldier setvelocity [0,0,-15] Actually does work! Well it doesn't break his legs on my comp, it uses setvel! Change the -15 to +15 and watch him fly! Share this post Link to post Share on other sites
InqWiper 0 Posted June 2, 2004 Quote[/b] ]moved? you mean order him to go somewhere? Yes, doesnt have to be far, try it on yourself with radio trigger, once you have moved it will work. If you havent moved you wont get damaged. Share this post Link to post Share on other sites
void_false 1 Posted June 3, 2004 InqWiper, damn you are the wizzard! you do magic! setvelocity works with men class! Which possibilities this opens! thx!!! Share this post Link to post Share on other sites
Sgt.Che 0 Posted June 3, 2004 Greeeeeaaaaattt!!! Â Thank you, InqWiper! Thats perfect! Â EDIT: Hm, runs only on SP. So i gotta use the Shell. Share this post Link to post Share on other sites