Forum

> > CS2D > Scripts > trigger_move
Forums overviewCS2D overview Scripts overviewLog in to reply

English trigger_move

3 replies
To the start Previous 1 Next To the start

old trigger_move

Casper-
User Off Offline

Quote
can I like open "menu" with move trigger just like use trigger ?

this is just a part of a my script
1
2
3
4
addhook("use","gunbuy")
function gunbuy(id,event,data,x,y)
     if (x == 17 and y == 10) then
          menu(id,"M1A1 Carbine Menu,Buy|500 Pts.")

old Re: trigger_move

oxytamine
User Off Offline

Quote
BureX has written
can I like open "menu" with move trigger just like use trigger ?

this is just a part of a my script
1
2
3
4
addhook("use","gunbuy")
function gunbuy(id,event,data,x,y)
     if (x == 17 and y == 10) then
          menu(id,"M1A1 Carbine Menu,Buy|500 Pts.")

Yes, you can. I wonder where do you guys get so many stupid questions.

old Re: trigger_move

Casper-
User Off Offline

Quote
ok, so lets start over.

I want to know if I can use the "trigger_move" same as "trigger_use" with lua. I putted the script there cuz i have the "use" hook. so im just wonderin'

EDIT : ah too slow (3 mins -_-)
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview