TJ_au 0 Posted April 18, 2007 Is it possible to create playable units using the createunit command. I would like to be able to add playable ai reinforcements for group respawn missions and to be able to dynamically create units which are teamswitchable too in SP. Share this post Link to post Share on other sites
fasad 1 Posted April 18, 2007 I cannot get single player team switch to work for any unit that was not set as playable in the mission editor using the setPlayable command. Share this post Link to post Share on other sites
squeeze 22 Posted April 18, 2007 yes, I did this while working on spawn@leader if a unit died it was replace.....worked in MP so should work in SP Share this post Link to post Share on other sites
fasad 1 Posted April 18, 2007 edit: try addSwitchableUnit for single player hmmm, using the setPlayable command crashes ArmA for me in a server/player test mission. Version 1.05.5136 In a dedicated server, the trigger either has no effect, or on one playing of the same mission it changed the player controlled unit to bob (the original player unit keeps my name and appears not to be under control of AI), but does not create any more slots available to other players. Activating the trigger a second time causes a partial loss of control of the new player unit (bob). I cannot aim or move, but can fire the gun (although it seems not to create any bullets) and use the map. Version 1.05.5143 player = group leader bob = unit 2 of players group trigger = on activation "setPlayable bob" Share this post Link to post Share on other sites