samisalreadytaken / vscripts

GNU General Public License v2.0
33 stars 1 forks source link

Error running script example-event #2

Closed renziyao closed 3 years ago

renziyao commented 3 years ago

Really impressed on ur scripts. I install vslib and example-event. When I ran the script, it says "the index 'FixupEventListener' does not exist". Could u pls give me some hints?

samisalreadytaken commented 3 years ago

That can only mean you're not using the correct library version. FixupEventListener was added in v2.40.0, you can check your vs_library.nut file to see if it is at or above this. Always make sure you are using the latest version for improvements and bug fixes.

By the way this is the test map I used for this example script https://gist.github.com/samisalreadytaken/bcc18e48aed7582f82261dbb52d7f77b

renziyao commented 3 years ago

thanks. it works amazingly