Primary Weapon

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
omniscient
Major General
Posts: 694
Joined: Tue Sep 16, 2003 12:02 am

Primary Weapon

Post by omniscient »

okay im having fun with .cfg's but i got another ?
since i favor the cs contorl i want to make 1 go to my primary weapon.
so waht i did was make a config like this

alias w "wait;wait;wait;wait;wait"
alias primary "useweaponclass rifle;w;useweaponclass smg;w;useweaponclass mg;w; useweaponclass heavy;w"
bind "1" primary

no when i have a rifle it works, and when i have a mg it works, but whne i have an smg it goes to grenade, then pistol, thne the smg really fast, and heavy doesnt fo anything. any ideas???
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Maybe try wait 5 (or much more, wait 50 waits only 1 server frame) instead of wait;wait;wait;wait;wait :?
Image
omniscient
Major General
Posts: 694
Joined: Tue Sep 16, 2003 12:02 am

Post by omniscient »

will do. though i dont get why it would switch to grenade...
Image
Post Reply