Skip to content

How does vs_library fix the issue with events at the same tick or something? And how would it be done without vs_library? #7

Discussion options

You must be logged in to vote

the reason why I do it like that, is because the "logic_eventlistener" needs a script to be inside "Entity Scripts", otherwise it gives me an error, saying that "event_data" wouldn't exist.

This is not right, there must be another issue going on.

What I am asking is, how does "vs_library" deal with it?

Hooking the _newslot metamethod of the event listener's script scope.

And how would I fix this, without the use of "vs_library" ?
... and how you would deal with this issue without "vs_library".

You basically don't. While you could start with the very first step of creating metamethods - which you would either copy-paste or create a script file to be included and referenced for each o…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by samisalreadytaken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants