| Both sides previous revision Previous revision | |||
|
hpl2:tutorials:script:buttons_that_open_a_door [2011/07/13 23:45] xtron |
hpl2:tutorials:script:buttons_that_open_a_door [2013/05/24 11:10] (current) grunt44432 |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| - | Today I (xtron) will teach you (the reader) how to make lets say press 3buttons and a door opens. | + | Today I (xtron) will teach you (the reader) how to make lets say press 4 buttons and a door opens. |
| Line 103: | Line 103: | ||
| SetEntityPlayerInteractCallback("button4", "func4", true); | SetEntityPlayerInteractCallback("button4", "func4", true); | ||
| } | } | ||
| - | | + | |
| void func1(string &in asEntity) | void func1(string &in asEntity) | ||
| { | { | ||