Forums » General
a question about scripts...
why does this not work:
/alias ccam hudtoggle; hidelog; dump; hudtoggle; hidelog;
Oninoshiko
/alias ccam hudtoggle; hidelog; dump; hudtoggle; hidelog;
Oninoshiko
Did you try putting it in quotes?
Yeah, the quotes are necessary.
yes i had it in quotes, (i forgot that in retyping it)
try:
/alias ccam "hudtogle ; hidelog ; wait 1 'dump' ; wait 2 'hudtoggle' ; wait 2 'hidelog'"
/alias ccam "hudtogle ; hidelog ; wait 1 'dump' ; wait 2 'hudtoggle' ; wait 2 'hidelog'"
The commands are not executed sequentially. The program goes through and figures out what the net result is, then executes that without the intermediate steps. So if you have hidelog twice in the same call (with out one of them in a wait) the game won't hide the log at all, same for hudtoggle of course. You can instead do:
/alias ccam "hudtoggle; hidelog; dump; wait 1 'hudtoggle; hidelog'"
This will take an instant picture but won't bring your hud and log back for a second. Or you could use SLs but that wouldn't be an instant picture.
/alias ccam "hudtoggle; hidelog; dump; wait 1 'hudtoggle; hidelog'"
This will take an instant picture but won't bring your hud and log back for a second. Or you could use SLs but that wouldn't be an instant picture.