Location: JBPLAY \ Meteor 2 \ Help and Guidance \ Using the 'Run' command Back to Threads |
Canuck
![]() Joined: 31 August 2007 Posts: 419 |
07 January 2009 03:05 (UK time)
Can the 'run' command (like, 'run Function') only be used in sector script commands, or can it be used in a script file as well? Like this:
You need to login to create posts in this thread. |
ParaSait
![]() Joined: 26 June 2007 Posts: 1478 |
07 January 2009 10:39 (UK time)
In a script file, you can just call functions without the "run" thing, so why would you want to do that? It's a waste of like 4 byte ![]()
You need to login to create posts in this thread. |
Canuck
![]() Joined: 31 August 2007 Posts: 419 |
07 January 2009 20:08 (UK time)
Well, I've got a great long section of script that's like 10 lines long and it has to run for more than one function, like this:
And there's a whole load of functions, not just two. What I want is something to do this:
You need to login to create posts in this thread. |
Canuck
![]() Joined: 31 August 2007 Posts: 419 |
07 January 2009 20:20 (UK time)
Oh, never mind, I found a solution--make a dat file for the mod. This will probably work better for me anyway. You need to login to create posts in this thread. |
ParaSait
![]() Joined: 26 June 2007 Posts: 1478 |
07 January 2009 20:21 (UK time)
Well, you still don't have to use the Run command for that, just call those functions and you should be fine. Of course if you REALLY want to use Run, you can call the SC_PassToConsole() function...
You need to login to create posts in this thread. |
arezey
![]() Joined: 16 June 2005 Posts: 1599 |
07 January 2009 20:55 (UK time)
You need to login to create posts in this thread. |
Canuck
![]() Joined: 31 August 2007 Posts: 419 |
07 January 2009 22:25 (UK time)
Yeah, I forgot to put the brackets after the function name, that's why it wasn't working. Thanks, guys. You need to login to create posts in this thread. |
|
Forums system (C) 1999-2023 by James Bunting.
Terms of Use