Guest User

Call Function doesnt works

a guest
May 7th, 2020
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. [script1]
  2. function ChangeAnim()
  3. Sprite.alpha = 0
  4. Sprite2.alpha = 1
  5.  
  6. [script2]
  7. script1.Call("ChangeAnim")
  8. end
  9.  
  10. [dialogue]
  11.  
  12. [func:ChangeAnim]
  13.  
  14. result:
  15.  
  16. script2:(line x, char x-x): attempt to index a nil value
  17. Press ESC to reload
Advertisement
Add Comment
Please, Sign In to add comment