Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
Execute game command silently
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
-
- Superfighter
- Posts: 97
- Joined: Thu Feb 07, 2019 4:36 am
Execute game command silently
I need an option to execute the command without having to display them in the chat, like how CreateDialogue() works. So something like IGame.RunCommand(string command, bool showInChat)?
1 x
- Gurt
- Lead Programmer
- Posts: 1884
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 34
We have deliberately designed the RunCommand to show the command, just like you would type it in the chat or change the settings from the host menu. Could you elaborate a bit more of why you want to hide it?
0 x
Gurt
-
- Superfighter
- Posts: 97
- Joined: Thu Feb 07, 2019 4:36 am
I want to create a slowmo effect to emphasize an important event just happened, like when the barrel exploded in vanilla game, the chat wouldnt show slowmo command. Here is an example
https://i.imgur.com/Cv7xj1M.mp4
https://i.imgur.com/Cv7xj1M.mp4
0 x