PDA

View Full Version : Script: console triggering?


urgrund
31st August 2004, 13:11
was wondering if there's a consoel command to pass arguements to script methods?

my_map::myFunc(32) (..if it requried a float arg)

any such thing?

it would make debugging/tweaking a breeze as u could just trigger off machinery and events when u want rather than having to "play" the level. :)

urgrund
31st August 2004, 14:47
never mind... figured it out
you can use the 'script' console command :)

so, if i had a function called blah() in the namespace my_map {...} i can call it via:
script my_map::blah()

...for those wondering