x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 
x
To those who participated in the Highlander Season 32 (Summer 2024), please fill out this Feedback Form for the current & next Highlander seasons!

Forum

How to enforce script perform circular(nonstop) ?

Created 16th October 2009 @ 13:01

Add A Reply Pages: « Previous 1 2

h0stage

If you’re just looking to override peoples viewmodel settings…””

not only :3


Last edited by h0stage,

Rele

SKyride: Yea youre right. Snowie already said it;

you’re basically telling it to run the same command infinitely which is a bad idea with computers.

And it’s not quite unreasonable to think if you want a computer to repeat something infinitely, you have to, well, order him to do something infinitely.

I have found a solution nonetheless: Use a regular toggle-script, and then build one of these:

http://www.wissenschaft-shop.de/media/images/800343_1.jpg
http://www.solarradiometer.de/ebay/schluckanimation.gif

:D


Last edited by Rele,

klu

-[MG]-
MG//

I have found a solution nonetheless: Use a regular toggle-script, and then build one of these:

http://www.wissenschaft-shop.de/media/images/800343_1.jpg
http://www.solarradiometer.de/ebay/schluckanimation.gif

:D

lmfao :D

Skyride

DUCS

If you’re just looking to override peoples viewmodel settings…””

not only :3

What i said was, well what else ARE you wanting to do?

Admirable

(Toucan Ambassador)

Generally its not possible because there is no way to terminate the loop.

But there was a “change respawn” script that created a loop to keep changing class that was able to terminate using the execution of one of the class configs.

It was in some American script pack a while back but not really useful outside of that specific situation. :)

Salmon

alfa
[hePPa]

If you’re using this for recording a demo, then you could do the following:

alias +attack "alwaysexec"
alias +attack2 "alwaysexec"
alias +alt1 "alwaysexec"
alias +alt2 "alwaysexec"
alias +back "alwaysexec"
alias +break "alwaysexec"
alias +campitchup "alwaysexec"
alias +campitchdown "alwaysexec"
alias +camyawleft "alwaysexec"
alias +camyawright "alwaysexec"
alias +camin "alwaysexec"
alias +camout "alwaysexec"
alias +cammousemove "alwaysexec"
alias +camdistance "alwaysexec"
alias +commandermousemove "alwaysexec"
alias +moveup "alwaysexec"
alias +movedown "alwaysexec"
alias +left "alwaysexec"
alias +right "alwaysexec"
alias +forward "alwaysexec"
alias +back "alwaysexec"
alias +lookup "alwaysexec"
alias +lookdown "alwaysexec"
alias +strafe "alwaysexec"
alias +moveleft "alwaysexec"
alias +moveright "alwaysexec"
alias +speed "alwaysexec"
alias +walk "alwaysexec"
alias +attack "alwaysexec"
alias +attack2 "alwaysexec"
alias +use "alwaysexec"
alias +jump "alwaysexec"
alias +klook "alwaysexec"
alias +jlook "alwaysexec"
alias +duck "alwaysexec"
alias +reload "alwaysexec"
alias +score "alwaysexec"
alias +showscores "alwaysexec"
alias +graph "alwaysexec"
alias +break "alwaysexec"
alias +zoom "alwaysexec"
alias +grenade1 "alwaysexec"
alias +grenade2 "alwaysexec"
alias +posedebug "alwaysexec"
alias +voicerecord "alwaysexec"
alias +showbudget "alwaysexec"
alias +vgui_drawtree "alwaysexec"
alias +showbudget_texture "alwaysexec"
alias +showbudget_texture_global "alwaysexec"
alias +showvprof "alwaysexec"

then make an alias called alwaysexec and in that you can put all the commands you want the game to exec.

So what this does is that whenever in the demo the player presses for instance “w”, the +forward command will be execed. However now it has been assigned to a new alias. Now when you are watching the demo and the player presses “w” your commands will be executed.


Last edited by Salmon,

Add A Reply Pages: « Previous 1 2