| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
hpl2:tutorials:script:advancedtimers [2011/07/13 16:01] kyle |
hpl2:tutorials:script:advancedtimers [2011/07/13 16:06] (current) kyle |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| - | <code cpp> | + | <code cpp>void OnStart() |
| - | + | ||
| - | void OnStart() | + | |
| { | { | ||
| SetPlayerCrouching(true); | SetPlayerCrouching(true); | ||
| Line 36: | Line 34: | ||
| - | <code cpp> | + | <code cpp>void OnStart() |
| - | + | ||
| - | void OnStart() | + | |
| { | { | ||
| PlaySoundAtEntity("", "break_glass_bottle.snt", "Player", 0, false); | PlaySoundAtEntity("", "break_glass_bottle.snt", "Player", 0, false); | ||
| Line 88: | Line 84: | ||
| This advanced timer helps organize timers under one function instead of many. | This advanced timer helps organize timers under one function instead of many. | ||
| + | |||
| + | |||
| + | == This wiki entry has been made by Kyle S. If you have any comments or need help with this, send me a private message on the Frictional Games Forum. (My name on there is Kyle) == | ||