SayMyName Posted November 6, 2015 Share Posted November 6, 2015 Hello guys. What is the correct variant to invoke another function in another script? triggerEvent, call (func) or direct call from exports table? UP: interested in speed, if possible. Link to comment
Moderators IIYAMA Posted November 7, 2015 Moderators Share Posted November 7, 2015 triggerEvent's are slow, so call function or exports. Yet I recommend exports. , because you don't have to use the function getResourceFromName(less code to write). Every function in your code is a delay. > "UP: interested in speed, if possible." Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now