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

Implement entity thread creation by name/hash from C++ script #79

Closed
ImmutableOctet opened this issue Jul 15, 2024 · 2 comments
Closed
Assignees
Labels
C++ Script API Feature New feature or request module: engine For features that involve the `engine` module. (optional)

Comments

@ImmutableOctet
Copy link
Owner

The C++ script API does not currently support thread creation from a simple name/hash. This is supported under the hood for Entity Threads, so by all accounts this should be an easy add.

For reference, this is supported by states, archetypes and triggers already.

@ImmutableOctet ImmutableOctet added Feature New feature or request module: engine For features that involve the `engine` module. (optional) C++ Script API labels Jul 15, 2024
@ImmutableOctet ImmutableOctet self-assigned this Jul 15, 2024
@ImmutableOctet
Copy link
Owner Author

This should be the only feature blocking #71, bugs not withstanding.

@ImmutableOctet
Copy link
Owner Author

This is now implemented. Something like:

start_thread("thread_name"_hs);

Now works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ Script API Feature New feature or request module: engine For features that involve the `engine` module. (optional)
Projects
None yet
Development

No branches or pull requests

1 participant