blocks.gif
Navigation
 

icon_home.gif Home
icon_community.gif Community
tree-T.gif Forums
tree-T.gif Feeds
tree-T.gif Tutorials
tree-T.gif Surveys
icon_poll.gif Enemy Territory
tree-T.gif Server Rules
icon_members.gif Site
tree-T.gif Statistics
tree-L.gif Sitemap

 

blocks.gif
ET - QW Status
 

 

blocks.gif
ET Jaymod - Status
 

 

blocks.gif
TS Block
 

BBA TeamSpeak Viewer

 

 
Buffalo Bad Ass: Forums
 


  Buffalo Bad Asses :: View topic - cvar command 'wait'
 
cvar command 'wait'

 
Post new topic   Reply to topic    Buffalo Bad Asses Forum Index -> Map Making / BBA Maps / Scripting / Modding
View previous topic :: View next topic  
Author Message
tromort
Newbie
Newbie


Joined: Dec 18, 2007
Posts: 37
Location: Earth.
Status: Offline

PostPosted: Mon Nov 24, 2008 11:54 am    Post subject: cvar command 'wait' Reply with quote

How does the cvar 'wait' work? im trying to make a script that at some part waits 15 sec. so Ill need the command wait but I wondered are the numbers after wait milli sec or has it something to do with fps?
Back to top
View user's profile Send private message
Geek_Geoff
Clan Member
Clan Member


Joined: Apr 18, 2007
Posts: 137
Location: In front of my computer eating hot chips
Status: Offline

PostPosted: Mon Nov 24, 2008 1:00 pm    Post subject: Reply with quote

There is an ET command site that I use for references and it states that it counts 'ticks.'

Sorry that this cannot be more help. In my experience, a tick can be anything, but usually a second.
_________________
Efforts and courage are not enough without purpose and direction. - J.F.K.
Back to top
View user's profile Send private message Yahoo Messenger
-999-
BBA Backer


Joined: Oct 06, 2006
Posts: 321
Location: Strangled, pounced, boomed, hit with concrete and somehow on fire with pipe bomb under me
Status: Offline

PostPosted: Mon Nov 24, 2008 3:25 pm    Post subject: Reply with quote

Wait is in milliseconds, so wait 1000 = 1sec
Back to top
View user's profile Send private message
Geek_Geoff
Clan Member
Clan Member


Joined: Apr 18, 2007
Posts: 137
Location: In front of my computer eating hot chips
Status: Offline

PostPosted: Mon Nov 24, 2008 10:58 pm    Post subject: Reply with quote

Thanks for clarifying that 999, because I didn't know that either.
_________________
Efforts and courage are not enough without purpose and direction. - J.F.K.
Back to top
View user's profile Send private message Yahoo Messenger
tromort
Newbie
Newbie


Joined: Dec 18, 2007
Posts: 37
Location: Earth.
Status: Offline

PostPosted: Tue Nov 25, 2008 9:50 am    Post subject: Reply with quote

Thx for the relpies, i also read about those ticks ;)
Back to top
View user's profile Send private message
ferapont
BBA ShouldBe
BBA ShouldBe


Joined: Sep 16, 2009
Posts: 262
Location: Seattle
Status: Offline

PostPosted: Mon Apr 26, 2010 8:15 pm    Post subject: Reply with quote

hey, some more info i found out:

the wait time actually varies depending on your frames per second, how exactly i dont know, but you can modify your fps while you are executing a wait command to make it more exact.

it seems like wait will extend what ever action you are doing:

+attack // will continue to attack until you write -attack
+attack; -attack // activates attack and deactivates it
+attack; wait 100; -attack // continues to attack for "100" then deactivates attack

but wait blows sometimes cuz it doesnt mean do one action, wait, then do another action. it means continue doing what you are doing for some time.

rambling-lets say you want to attack for 20 seconds, wait 20 seconds, then jump for 10 seconds:
Code:
+attack; wait 20; -attack; wait 20; +moveup; wait 10; -moveup

but you wont be able to move for that middle wait because you are executing -attack for 20 seconds, supposedly.

soooo what is it good for? dont know but a strafe script uses it well
Code:
+moveleft; wait 10; -moveleft; +moveright; wait 10; -moveright

so this moves you left for "10" then moves right "10"
or if ur lazy you can use for arming dynos after you throw it down
Code:
weaponbank 5; +attack; wait 100; -attack

so bind that baby and it will whip out your pliers and arm for "100" and you wont have to hold down ur mouse button.

that's all i got for now. hope it adds something to the conversation
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Buffalo Bad Asses Forum Index -> Map Making / BBA Maps / Scripting / Modding All times are GMT - 6 Hours
Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group
Version 2.1 by Nuke Cops © 2003 http://www.nukecops.com
Techra-Dark theme pack by Kenetix

 

Forums ©