Search found 3 matches

by ClearlyDefectiv
Tue Sep 11, 2018 12:03 pm
Forum: Love/Hate
Topic: Creating FactionManager and FactionMember programmatically
Replies: 4
Views: 2061

Re: Creating FactionManager and FactionMember programmatically

Thank you for the info. Personally I don't want to see any warnings/errors from the FactionManager creation, however I definitely understand you wanting to keep the warning since that can help people. Currently I've made a prefab out of the FactionManager with the database set and I just Instantiate...
by ClearlyDefectiv
Wed Sep 05, 2018 9:04 pm
Forum: Love/Hate
Topic: Creating FactionManager and FactionMember programmatically
Replies: 4
Views: 2061

Re: Creating FactionManager and FactionMember programmatically

Actually, going to reply to my own post here to ask a more general question. Seems like Love/Hate was designed with the idea that factions and their members would be created by the designer before hand, what would you recommend if I want to have the majority of these things be generated procedurally?
by ClearlyDefectiv
Wed Sep 05, 2018 8:54 pm
Forum: Love/Hate
Topic: Creating FactionManager and FactionMember programmatically
Replies: 4
Views: 2061

Creating FactionManager and FactionMember programmatically

Hello, My first question is how can I create a new FactionManager GameObject from a script? I saw on an older thread (https://www.pixelcrushers.com/phpbb/viewtopic.php?f=5&t=724) that you recommended doing something like this: // Create FactionManager: var factionManager = new GameObject("L...