Skip to content

Implement a cohesive interface for controlling another Entity Thread/Script #81

Description

@ImmutableOctet

This would look something like:

if (auto some_thread = get_thread("some_thread_name"_hs))
{
	co_await some_thread.pause();
}

where some_thread would be an interface type tied to the underlying EntityThread and/or Script. This type would be convertible to bool, with true indicating that the thread is currently running and linked.

This would be for the current entity, but we would ideally be able to do this for other entities as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

C++ Script APIFeatureNew feature or requestIdeaIdeas, concepts, etc. (for features without a clear scope yet)module: engineFor features that involve the `engine` module. (optional)

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions