Installera Steam
logga in
|
språk
简体中文 (förenklad kinesiska)
繁體中文 (traditionell kinesiska)
日本語 (japanska)
한국어 (koreanska)
ไทย (thailändska)
Български (bulgariska)
Čeština (tjeckiska)
Dansk (danska)
Deutsch (tyska)
English (engelska)
Español - España (Spanska - Spanien)
Español - Latinoamérica (Spanska - Latinamerika)
Ελληνικά (grekiska)
Français (franska)
Italiano (italienska)
Bahasa Indonesia (indonesiska)
Magyar (ungerska)
Nederlands (nederländska)
Norsk (norska)
Polski (polska)
Português (Portugisiska – Portugal)
Português - Brasil (Portugisiska - Brasilien)
Română (rumänska)
Русский (ryska)
Suomi (finska)
Türkçe (turkiska)
Tiếng Việt (vietnamesiska)
Українська (Ukrainska)
Rapportera problem med översättningen
"cursorObject", of course you would need to check it it's "isKindOf "Man".
I have automedic code I wrote, but I would not be able to make that happen, to a moving medivac bird without some advice. Cab you guys help?
*Additonal: I wrote the code specifically for AI ACE Medicals on Advanced.*
at which time, they should start the code I wrote correct?
this addaction ["Your text here", // title
{ [Unit Name] join (Player); }, // script
nil, // arguments
1.5, // priority ( how high on your action window the script appears)
true, // showWindow
true, // hideOnUse (When you click the action the title disappears until you scroll to it again.)
"", // shortcut (A key stroke if you so choose)
"alive _target", // condition
3 // max distance for the action to display (In meters ofc, default is 50m)
];
------------------------------------------------------------------------------
end result for the units init:
------------------------------------------------------------------------------
this addAction ["Your text",{[Unit name] join player;},nil,1.5,true,true,"","alive Unit name",10];
this addAction ["Your text",{[Unit name] join grpNull;},nil,1.5,true,true,"","alive Unit name",10];
------------------------------------------------------------------------------
Basically now these two addActions allow you to, not only add or join AI to your squad, but now make the addActions disappear when the unit dies, and shorten the range which you can use the addActions :)