Search found 1 match
- Sun Oct 14, 2012 5:31 pm
- Forum: Modding
- Topic: Passing Arguments to Functions between Scripts; Please Help
- Replies: 7
- Views: 9991
Re: Passing Arguments to Functions between Scripts; Please H
Hey, fellow Dungeon Makers! I've tested this, and can easily pass more than 2 parameters just keep it in mind, that if you call a function, the first parameter will ALWAYS be the sender object, so the correct syntax: ("demo" is the name of the script_entity) function printThisOut(sender, p...