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

ObjectControl: Trigger not found if Action not prefixed with start_ in xosc file #647

Open
ceciliahernqvist opened this issue Jun 25, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@ceciliahernqvist
Copy link

ceciliahernqvist commented Jun 25, 2024

Describe the bug
Delayed start for an object does not work unless actionName for an object is prefixed with "start_", e.g.
<Action name="2,start_follow_trajectory">

To Reproduce
Steps to reproduce the behavior:

  1. Open a scenariofile with a scenario where an actors movement should be triggered by another actor in the scenario.
  2. Go to ManouverGroup for the triggered actor ID, at the row for
    <Action name="ActorObjectID,Action">
    make sure "Action" does not contain the prefix "start_"
  3. Run scenario with ATOS.
  4. Note that the output will state that no trigger where found for the specified actor, e.g.:
    [object_control-3] [INFO] [1719314506.627170743] [atos.object_control]: Got trigger start for object 2: 0

Expected behavior
Would like ATOS to be able to handle triggers without a specific prefix, or otherwise output a warning message or something about not handling triggers without "start_" prefix.

Screenshots
Screenshot from 2024-06-25 13-16-30

Additional context
Same issue occurs if there happens to be a space in between ActorObjectID, and Action, e.g.
<Action name="2, start_follow_trajectory">
instead of
<Action name="2,start_follow_trajectory">

@ceciliahernqvist ceciliahernqvist added the bug Something isn't working label Jun 25, 2024
@ceciliahernqvist ceciliahernqvist changed the title ObjectControl: Trigger not found if not prefixed with start_ in xosc file ObjectControl: Trigger not found if Action not prefixed with start_ in xosc file Jun 25, 2024
@ceciliahernqvist ceciliahernqvist added the enhancement New feature or request label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant