Advertisement
aokmikey

Untitled

Nov 23rd, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  1. step_2_triggers()
  2. {
  3.   // fix error atempt, now trigs_spawn isnt initialized
  4.     trigs_spawn = getentarray("step_2_trigs", "targetname");
  5.     for(i=0;i<trigs_spawn.size;i++)
  6.     {
  7.         // fix error atempt
  8.         trig = spawn("trigger_radius", trigs_spawn[i].origin, 60, 60, 60); // varible i not initialized.
  9.         //trig linkto(build_location); not need unless you are moving the triger
  10.         trig setCursorHint("HINT_NOICON");
  11.         trig setHintString("Press &&1 to open power valve");
  12.     }
  13. }
  14. // fix error atempt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement