HyperLimited Member 32 Aug 3, 2006 #1 Some script calls in my game are ridiculously long, and take more than 2 lines, causing them to not function. Is there some way to fix this?
Some script calls in my game are ridiculously long, and take more than 2 lines, causing them to not function. Is there some way to fix this?
Mr.Mo Member 950 Aug 3, 2006 #2 make a module; Code: module ScriptCall end I'll give an example; Code: module ScriptCall def self.print_messages1 p "1" p "2" p "3" end end Call it like this; ScriptCall.print_messages1 hope that helps. Upvote 0 Downvote
make a module; Code: module ScriptCall end I'll give an example; Code: module ScriptCall def self.print_messages1 p "1" p "2" p "3" end end Call it like this; ScriptCall.print_messages1 hope that helps.
SephirothSpawn Sponsor 1,433 Aug 3, 2006 #3 Thats actuall a pretty good idea. And just to clearify, make a method in a special module. Use what you would use in the call script box within your method. Simple and Pratical, but effective. Upvote 0 Downvote
Thats actuall a pretty good idea. And just to clearify, make a method in a special module. Use what you would use in the call script box within your method. Simple and Pratical, but effective.