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

Time Gun ray spawned via trigger. #1

Open
GoogleFrog opened this issue Dec 11, 2015 · 0 comments
Open

Time Gun ray spawned via trigger. #1

GoogleFrog opened this issue Dec 11, 2015 · 0 comments

Comments

@GoogleFrog
Copy link
Contributor

The trigger system should be able to spawn arbitrary time gun rays. This would be used for limited time travel level components. For example press a button and send something at a location back in time.

Time guns could be placed in a reasonable data structure (x, y, xAim, yAim, timeAim) and sent to guyStep to be executed at the same time as the guy time guns. This ensures that they all occur in one place. This structure needs to leave the lua trigger system and somehow end up affecting guys.

Another structure is to return the time guns shot by guys from the time step and then merge guy guns and environment guns to be calculated in a dedicated time gun step. This is not feasible because guy time gun shooting order is important, guys cannot shoot if they are shot. Two guys are not allowed to shoot each other back in time using perfect timing.

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

No branches or pull requests

1 participant