Slayer Posted September 18, 2019 Share Posted September 18, 2019 As the title says, I'm trying to allow the player to set a variable from a chatbox /command. I'm assuming it isn't possible. It responds with "You are not in a party". Any insights? Link to comment Share on other sites More sharing options...
1 Khaikaa Posted September 20, 2019 Share Posted September 20, 2019 If you are asking if it is possible to assign a value to a variable this way: /command 123, the answer is not, you can't pass values from chatbox to variables at the momment. Link to comment Share on other sites More sharing options...
0 Weylon Santana Posted September 19, 2019 Share Posted September 19, 2019 Why isn't possible? I do this all over time. An simple /command to change 1 variable or another its possible yes. Maybe something connected to party or something like conditions gives to you this issue. Link to comment Share on other sites More sharing options...
0 Guest Posted September 19, 2019 Share Posted September 19, 2019 18 hours ago, Slayer said: As the title says, I'm trying to allow the player to set a variable from a chatbox /command. I'm assuming it isn't possible. It responds with "You are not in a party". Any insights? Â Did you check the "party sync" button? Link to comment Share on other sites More sharing options...
0 AisenArvalis Posted September 20, 2019 Share Posted September 20, 2019 Â Works perfectly fine for me on B6 Build: 118 Link to comment Share on other sites More sharing options...
0 Slayer Posted September 20, 2019 Author Share Posted September 20, 2019 I figured out what I did wrong last night and got it to work. Then discovered that I couldn't do what I was intending with it. My goal was to have the player spawn a npc and be able to give it move commands. Like /2 for down, /8 for up, etc. I quickly learned that common events cannot have move routes lol. Thanks for everyones answers Link to comment Share on other sites More sharing options...
0 Slayer Posted September 21, 2019 Author Share Posted September 21, 2019 On 9/20/2019 at 5:18 AM, Khaikaa said: If you are asking if it is possible to assign a value to a variable this way: /command 123, the answer is not, you can't pass values from chatbox to variables at the momment. I noticed that /1 sends a global response, /2 send a party response, /3 sends a admin response. Using a greater number than 3 seems to allow you to set a command for it. I'm not sure how /1,2,or 3 is intended to be used though. /3 actually crashes my editor. Link to comment Share on other sites More sharing options...
0 Khaikaa Posted September 21, 2019 Share Posted September 21, 2019 40 minutes ago, Slayer said: I noticed that /1 sends a global response, /2 send a party response, /3 sends a admin response. Using a greater number than 3 seems to allow you to set a command for it. I'm not sure how /1,2,or 3 is intended to be used though. /3 actually crashes my editor.  You misunderstood me  I mean that you can't write /(your command) (value) to set the (value) into a variable Slayer 1 Link to comment Share on other sites More sharing options...
0 Slayer Posted September 21, 2019 Author Share Posted September 21, 2019 2 minutes ago, Khaikaa said:  You misunderstood me  I mean that you can't write /(your command) (value) to set the (value) into a variable Any idea about the /123 commands and how they behave currently? Link to comment Share on other sites More sharing options...
0 Guest Posted September 21, 2019 Share Posted September 21, 2019 2 hours ago, Khaikaa said:  You misunderstood me  I mean that you can't write /(your command) (value) to set the (value) into a variable  However, you CAN create multiple common events such as  /command 1 /command 2 /command 3  And set these as variables. Link to comment Share on other sites More sharing options...
0 Slayer Posted September 21, 2019 Author Share Posted September 21, 2019 1 hour ago, The Bunny Gamer said:  However, you CAN create multiple common events such as  /command 1 /command 2 /command 3  And set these as variables. Uh-huh.... But how to use /1, /2, or /3 in a productive manner? Link to comment Share on other sites More sharing options...
0 Guest Posted September 22, 2019 Share Posted September 22, 2019 7 hours ago, Slayer said: Uh-huh.... But how to use /1, /2, or /3 in a productive manner? Â I am assuming that /1 switches to party chat, /2 to global chat and /3 to local chat. However /local is broken so /3 should be too. Link to comment Share on other sites More sharing options...
Question
Slayer
As the title says, I'm trying to allow the player to set a variable from a chatbox /command. I'm assuming it isn't possible. It responds with "You are not in a party". Any insights?
Link to comment
Share on other sites
11 answers to this question
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