Script: console triggering?


(urgrund) #1

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. :slight_smile:


(urgrund) #2

never mind… figured it out
you can use the ‘script’ console command :slight_smile:

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