ImmutableOctet / glare

Glare: Open Source Game Engine written in Modern C++
MIT License
0 stars 0 forks source link

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

Closed ImmutableOctet closed 3 months ago

ImmutableOctet commented 3 months ago

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 commented 3 months ago

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

ImmutableOctet commented 3 months ago

This is now implemented. Something like:

start_thread("thread_name"_hs);

Now works as expected.