- Joined
- Aug 24, 2013
- Messages
- 9
- Reaction score
- 1
- First Language
- Russian
- Primarily Uses
Hello!
I have noticed that it is possible to set a whole bunch of interesting things to be present inside a Variable from one of the threads on this forum
What I need to know is how to add values to a Variable that holds a given array and then how to check if that value is present.
I need this for a number of systems. But one example would be to check what sort of NPCs have been recruited for the army. The variable would hold their names. Initially the variable would have no values, but as you add various people to your army, their names would get added in. So names like "Bob", "Bills", "Jack", "Fortesque", etc...
I would then want to know how to set up a Condition branch to check if a Variable that has multiple names inside of it, has a specific one, like if the above example has "Bill" in it! Ie, an army that has someone named "Bill" in it would get a morale bonus, etc...
I have a feeling that I saw something like this somewhere before but after spending 3 hours in google I came up with nothing (maybe I'm just blind
)
https://www.houseofnames.com/fortesque-family-crest
I have noticed that it is possible to set a whole bunch of interesting things to be present inside a Variable from one of the threads on this forum
What I need to know is how to add values to a Variable that holds a given array and then how to check if that value is present.
I need this for a number of systems. But one example would be to check what sort of NPCs have been recruited for the army. The variable would hold their names. Initially the variable would have no values, but as you add various people to your army, their names would get added in. So names like "Bob", "Bills", "Jack", "Fortesque", etc...
I would then want to know how to set up a Condition branch to check if a Variable that has multiple names inside of it, has a specific one, like if the above example has "Bill" in it! Ie, an army that has someone named "Bill" in it would get a morale bonus, etc...
I have a feeling that I saw something like this somewhere before but after spending 3 hours in google I came up with nothing (maybe I'm just blind
https://www.houseofnames.com/fortesque-family-crest