BEAKSBY 11 Posted July 8, 2014 How do I make any player use a Medikit? init= "this attendant = true"; Share this post Link to post Share on other sites
Lala14 135 Posted July 9, 2014 the only way I believe is to mod it, thats why only medics can use it. Share this post Link to post Share on other sites
BEAKSBY 11 Posted July 9, 2014 the only way I believe is to mod it, thats why only medics can use it. OH, I thought this was like an UAV operator with the UAV controller and anyone could use the equipment provided something was added to the unit's init allowing them to operate the UAV, heal a soldier with medikit, repair a vehicle with toolkit...etc. Share this post Link to post Share on other sites
Lala14 135 Posted July 9, 2014 yea even toolkits only work on 3 classes Repair Specialist, Explosive Specialist and Engineer you could make an addAction and make the conditions make sure that the unit has a medkit and the damage is less than something. Share this post Link to post Share on other sites
BEAKSBY 11 Posted July 9, 2014 yea even toolkits only work on 3 classes Repair Specialist, Explosive Specialist and Engineeryou could make an addAction and make the conditions make sure that the unit has a medkit and the damage is less than something. That was exactly my plan...thanks! Share this post Link to post Share on other sites
feldruebe 12 Posted February 19, 2017 but in the enhanced Eden editor you can just tick "is engineer" or "is medic", so i think this is kind of hidden. Edit: this thread may be dead, but for those guys reaching it through search; you can use the "setUnitTrait" to add or remove abilities (like engineer or medic) on soldiers. You can (probably) use it to make a guy for everything Share this post Link to post Share on other sites
Midnighters 152 Posted February 22, 2017 forcing a player to use a medkit? player action["Heal",YourOtherUnit]; this would force the player to heal another unit, eventually teleporting to the unit if the unit is too far away for healing player action["HealSolider",YourOtherUnit]; similar to the first, except I believe it wont work at all if you do not have a medkit, or fak. Comparatively to the first, where it'll still play the animation but receive no healing if no medkit or fak is present in the player's inventory. player action["HealSoldierSelf",player]; another variant of the heal, but if target is player it'll force the player to heal self. That is of course, if player has a fak or medkit. hopefully I'm on the same page. Share this post Link to post Share on other sites