Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- step_2_triggers()
- {
- // fix error atempt, now trigs_spawn isnt initialized
- trigs_spawn = getentarray("step_2_trigs", "targetname");
- for(i=0;i<trigs_spawn.size;i++)
- {
- // fix error atempt
- trig = spawn("trigger_radius", trigs_spawn[i].origin, 60, 60, 60); // varible i not initialized.
- //trig linkto(build_location); not need unless you are moving the triger
- trig setCursorHint("HINT_NOICON");
- trig setHintString("Press &&1 to open power valve");
- }
- }
- // fix error atempt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement