eggroll666 Posted February 16, 2016 Share Posted February 16, 2016 (edited) I've recently created a custom character based off the 'Soldier' template in defaultcharacters.I've also managed to spawn him in with appearances using functions from gamestate_unit and everything seems to function identically to a typical soldier.Except he can't trigger civilian rescues. Nothing happens when he runs into the rescue ring but he can trigger faceless procs just fine. The game creates proximity events and trigger certain reactions based off what team the unit belongs to. This makes me think the game isn't recognizing my soldier as an XCOM member.Is there a team flag or something of the sort that gets set in place after a soldier created with the in-game maker? Edited February 16, 2016 by eggroll666 Link to comment Share on other sites More sharing options...
Deleted32045420User Posted February 16, 2016 Share Posted February 16, 2016 there is one it's called ETeam and has neutral, alien and xcom but it's native so that's not where i would look (though i havnt looked into it much yet) Link to comment Share on other sites More sharing options...
eggroll666 Posted February 16, 2016 Author Share Posted February 16, 2016 (edited) I looked into Eteam but I've only found lines that look for what it is set to and nothing that actually hard sets it in place. Is there a way to set it in the character template or assign it with gamestate_unit functions? Edited February 16, 2016 by eggroll666 Link to comment Share on other sites More sharing options...
davidlallen Posted February 16, 2016 Share Posted February 16, 2016 Maybe you could look in the debug log as you trigger a civilian rescue with a normal soldier, to see if there are any interesting messages. If so, maybe you can search in the code for what triggers those messages, and work back up from there. Link to comment Share on other sites More sharing options...
Recommended Posts