bravo 6 0 Posted January 20, 2007 I would like to know how i can use the command 5-1-Xi (i=1,..,4) calling the "original" support of the game. For MP. Cheers. Share this post Link to post Share on other sites
pyro05x 0 Posted January 20, 2007 maybe <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_foo = compile "5-1-_this"; for "_i" from 1 to 4 do { _bar = _bar + _i call _foo; }; or a one-liner: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{_foo = _foo + (5-1-_x);} forEach [1,2,3,4]; the latter is merely a theory, it appears to be correct syntax, but sloppy, nonetheless. Share this post Link to post Share on other sites
bravo 6 0 Posted January 20, 2007 maybe<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_foo = compile "5-1-_this"; for "_i" from 1 to 4 do { _bar = _bar + _i call _foo; }; or a one-liner: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{_foo = _foo + (5-1-_x);} forEach [1,2,3,4]; the latter is merely a theory, it appears to be correct syntax, but sloppy, nonetheless. Thanks for help. Have some questions: where must i use that? in a trigger, script? can you plz tell me how and where i put those codes? cheers. edit: typo Share this post Link to post Share on other sites
bravo 6 0 Posted January 22, 2007 up, any help plz? Share this post Link to post Share on other sites
UNN 0 Posted January 22, 2007 I thought you accessed that by placing a support waypoint in the editor for the relevant vehicle, ammo, fuel truck e.t.c The AI should call for support when it needs it, the player uses the support menu. If you want to force the AI to rearm then you will need to write a script, so check out the BIS Wiki for the actual Arma scripting commands and how to use them. Share this post Link to post Share on other sites
bravo 6 0 Posted January 22, 2007 what i tryed was this and it worked in mp (not tested in public server yet) created a support unit heal m113 with a waypoint with name "support". when i use the 5-1-1 they answer and they go to the place i indicated. But when they get there the crew disembark the vehicle. Why? what do i need to to so they don't get out of the vehicle and stay inside. cheers Share this post Link to post Share on other sites
bravo 6 0 Posted January 24, 2007 didnt work in MP still looking for the "formula" to make this work. Plz help. Share this post Link to post Share on other sites
UNN 0 Posted January 24, 2007 Quote[/b] ]didnt work in MPstill looking for the "formula" to make this work. Yeah, even if you use the support done action. They still stand by the vehicle without returning. You could try posting it as a bug, perhaps it's supposed to work differently? You might have to script the entire process yourself, but then you have to add radio commands to call and return your support vehicles. Share this post Link to post Share on other sites
bravo 6 0 Posted January 24, 2007 Quote[/b] ]didnt work in MPstill looking for the "formula" to make this work. Yeah, even if you use the support done action. They still stand by the vehicle without returning. You could try posting it as a bug, perhaps it's supposed to work differently? You might have to script the entire process yourself, but then you have to add radio commands to call and return your support vehicles. i dont know if its a bug or not. Only BIS can answer this. Though im using a script used in the mission "armed fist". It works in MP but radio is needed and used. Something i would like not to use. I still wan to use the main 5-1-x commands to call the support. Bis fix this "bug" or help us with this problem. Share this post Link to post Share on other sites
Taurus 20 Posted November 18, 2008 Sorry, I necromanced this thread too Guess what, in MP(dedicated) the Support vehicle wouldn't even leave it's position. Version 1.14 Editor: 1: M113 Ambulance 2: M113 has a support wp near the starting point. In game(multiplayer): NEED MEDIC AT BLABLA!! NEGATIVE In SP or "Local host singel player multiplayer" the M113 Ambulans driver hops into the vehicle and drives away. If the "caller" happened to be the host. Problem with him standing outside like a moron and not returning to "base" or original position still exists tho' But that doesn't matter if it can't be used in the second MP environment. Adding an empty M113 Ambulance with a medic as driver didn't work out either. In SP he would try to drive the vehicle, but 1 meter / hour or so. Ofc all this can be scripted, as we do with most "advanced" features, or waypoints created, but in a case where 1: We don't want to script 2: We can not add waypoints because the player might be at a location we are not aware of etc etc. 3: We want to use the ingame functionalities. We're pretty screwed? Share this post Link to post Share on other sites
.kju 3245 Posted November 18, 2008 Unfortunately calling support is local. So normally any support unit is local to the server. You need to script a system to temporary add the support unit to your group to have it local to the support caller. Share this post Link to post Share on other sites
mattxr 9 Posted November 18, 2008 They do this as you dont support these units in a firefight, you would genrally fall back to a safe point and call up the support units then head back to the fight. You wouldnt call the support units into the center of the fight lol. So you pull back to the group point. Call the units and they will stay there for further support the more you push the enemy back the more you can call up the support ect Share this post Link to post Share on other sites
Taurus 20 Posted November 18, 2008 They do this as you dont support these units in a firefight, you would genrally fall back to a safe point and call up the support units then head back to the fight. You wouldnt call the support units into the center of the fight lol. yeah yeah, but what ever LOL, seriously? Sure we don't want our platoon medics to be sent into battle as they are in some armies RL, they might hurt themselves. And why would they leave the vehicle to begin with... So many questions... It doesn't work unless scripted in MP. so no use of the support wp in its current state. I thought of an "scriped"(even tho' I don't want to script everything) solution to this, I'll get back to you with my results. Share this post Link to post Share on other sites