79135 4 Posted March 5, 2019 Share Posted March 5, 2019 I create list string, charN1 add into the list some strings. How another char can use this list<string>? I use quester product. Quest type override pulse c# code Link to comment https://wrobot.eu/forums/topic/10927-save-list-name-player/ Share on other sites More sharing options...
Droidz 2738 Posted March 6, 2019 Share Posted March 6, 2019 Hello, where is your list<string>? and you want use it is quest type (overidepulsecsharpcode)? Link to comment https://wrobot.eu/forums/topic/10927-save-list-name-player/#findComment-52021 Share on other sites More sharing options...
79135 4 Posted March 6, 2019 Author Share Posted March 6, 2019 14 minutes ago, Droidz said: Hello, where is your list<string>? and you want use it is quest type (overidepulsecsharpcode)? how to save this list so all my bots can see it? //For example: string myNameIs = ObjectManager.Me.Name; List<string> nameOtherPlayer = new List<string>(){}; if (myNameIs == "Putin") { nameOtherPlayer.Add("Trump"); } //save the list in order to another chars can use the list //OR string myNameIs = ObjectManager.Me.Name; List<string> nameAllMyBots = new List<string>(){}; if (!nameAllMyBots.Contains(myNameIs)) { nameAllMyBots.Add(myNameIs); } quest type (overidepulsecsharpcode)? - yes. Link to comment https://wrobot.eu/forums/topic/10927-save-list-name-player/#findComment-52022 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now