Jump to content


Photo

Run command repeatedly

console

  • Please log in to reply
1 reply to this topic

#1 stgatilov

stgatilov

    Lead Programmer

  • Active Developer
  • PipPipPip
  • 777 posts

Posted 27 May 2018 - 09:59 AM

Is there a way to run some console command repeatedly?

 

For instance, I want to reload sounds every second, so I write into console something like:

repeat 1000 reloadSounds

Context: I'm revising the wiki page about EFX.

 



#2 freyk

freyk

    Advanced Member

  • Member
  • PipPipPip
  • 624 posts

Posted 27 May 2018 - 11:04 AM

Dont know.
But the first thing to come to my mind is:
reloadSounds;reloadSounds;reloadSounds;

Or run a script:
http://wiki.thedarkm...cripting_basics

Edited by freyk, 27 May 2018 - 11:11 AM.

  • stgatilov likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users