Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Add Rocket Sent Count to evoGUI. #35

Open
StoneLegion opened this issue Sep 30, 2015 · 4 comments
Open

Add Rocket Sent Count to evoGUI. #35

StoneLegion opened this issue Sep 30, 2015 · 4 comments

Comments

@StoneLegion
Copy link

I would love it if such a kind and wonderful man would be willing to grab the rocket sent count and add it to evoGUI.

If possible remove the scoreboard or give instructions how to modify the control.lua.

Thanks!

@narc0tiq narc0tiq changed the title Added Rocket Sent Count to evoGUI. Add Rocket Sent Count to evoGUI. Sep 30, 2015
@StephanSteinert
Copy link

If anyone tell me how the rocket count is evaluated i can try to make a remote sensor in the meanwhile.
My estimation is, that the mod must be enabled before the first rocket is sent and only reacts to the on_rocket_launched event.

@silasary
Copy link
Contributor

Yeah. It's stored in the Sandbox control.lua, which I believe is an
inaccessible scope. (Unless they made a remote for it?)

And even if that weren't true, with 0.13 about to hit, I'm fully expecting
the endgame to change, and Rockets to change with it.

On Sat., 11 Jun. 2016, 06:53 houseofsteinert, [email protected]
wrote:

If anyone tell me how the rocket count is evaluated i can try to make a
remote sensor in the meanwhile.
My estimation is, that the mod must be enabled before the first rocket is
sent and only reacts to the on_rocket_launched event.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#35 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AAL2zniDEihAGXQIPWnE0iCZGfe_7bjhks5qKc7NgaJpZM4GGpc-
.

@narc0tiq
Copy link
Owner

You could just subscribe to the on_rocket_launched event, making a note that on the next tick you should destroy the sandbox/freeplay GUI and increment your own count by 1.

You could do it in the same tick, but I'm not sure whether the mod event will reliably fire after the scenario's event.

@jocker-il
Copy link
Contributor

I know someone made a mod for that here

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

No branches or pull requests

5 participants