-
Notifications
You must be signed in to change notification settings - Fork 194
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
New Commands: 2050 - Call Movement Action #3111
base: master
Are you sure you want to change the base?
New Commands: 2050 - Call Movement Action #3111
Conversation
feeed6f
to
b58c8af
Compare
248a21f
to
e5c2381
Compare
This one is near completion. Once Ghabry have time, he will help refactoring the vehicles code, to allow any event entities to fly or land like airships. I wonder if we could also have an extra parameter called |
e5c2381
to
1d9597e
Compare
1d9597e
to
ee8b2ad
Compare
About the semantics of Wait for Single Movement: I understand this ones:
But about the output variable: The variable is set to 0 when the move route was aborted. The variable is set to 1 when the move route did not exist or ended successfully. Is this correct and the intention? |
`@raw 2050, "SetMoveSpeed", 0, 10001, 1, 3` @2050("typeOfAction",[targetIsVar,target, parameterIsvar, parameter]) ```js @raw 2051, "", 0, 10001 //Wait for Single Movement @raw 20140, "Fails to move x times", 8 // start fail branch @raw 10 //empty space for more cmds @raw 20141 // end of fail branch ```
```js @raw 2050, "FaceTowards", eventAIsVar,eventA, eventBisVar, eventB ``` ```js @raw 2050, "FaceAway", eventAIsVar,eventA, eventBisVar, eventB ```
ee8b2ad
to
875e012
Compare
Here's a bunch of stuff that was already requested in different places.
Call Movement Action:
A collection of new move commands that can be called as:
Wait for Single Movement:
Waits for the end of a Single Event's Movements.Already Implement on another PR.
While waiting for the Move Route to complete, you can save the outcome of the motion (success or failure) to a targetVariable. Additionally, you can set the number of failed attempts allowed before triggering a failure condition. If the failuresAmount is set to 0, this command will simply wait for the motion to finish without considering failures.
old commits comments:
Update Feature - Support Detecting when Move Route Fails Thanks @MackValentine Mack for solving some Core Issues