Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command example #4

Open
HellGL opened this issue Jul 21, 2020 · 0 comments
Open

Command example #4

HellGL opened this issue Jul 21, 2020 · 0 comments

Comments

@HellGL
Copy link

HellGL commented Jul 21, 2020

Hi,
I like you fork of the PPL very much and use it quite often. At the moment I have the problem that it is not possible to send XPLMCommandBegin() and XPLMCommandEnd() via UDP but only XPLMCommandOnce(). I know there is a fency C++ way to write a plugin that reads in commands from an Ini-file and creates two new commands (e.g. "sim/xplane/command[Begin]" and "sim/xplane/command[End]" if [] are allowed in names, otherwise maybe "sim/xplane/command/Begin" and "sim/xplane/command/End") that just call "sim/xplane/command" with the respective phase. This would enable to call the Begin() and End() functions also via UDP.
Wouldn't this be a very nice example for the Command class?
I could probably write such a plugin but with my limited C++ knowledge I wouldn't want to publish the source code;-).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant