Shield

Donator
  • Content count

    60
  • Joined

  • Last visited

Everything posted by Shield

  1. Hey, i scripted some shops at begin of my new map, after build files and run cod4 no error was coming, first when i pressed the button , it comes a script compile error at this line trigger waittill ("trigger",player). My script : main() { thread door(); thread spawnwave(); thread shop1(); thread shop2(); thread shop3(); } door() { object = getEnt ("door","targetname"); wait (14); iPrintLnBold ("^1Door is opening"); object moveZ (200,6); } spawnwave() { wave = getEnt ("wave","targetname"); killtrigger = getEnt ("killwave","targetname"); killtrigger enablelinkto (); killtrigger linkto(wave); wait(20); wave moveY (-3000,3); wave waittill ("movedone"); wait(2); wave moveZ (-1200,3); } shop1() { shop = getEnt ("shop1","targetname"); trig = getEnt ("shop1_trig","targetname"); trig sethintstring ("Buy whine here!"); for(;;) { trig waittill ("trigger",player); self suicide(); } } shop2() { stand = getEnt ("stand","targetname"); trig = getEnt ("stand_trig","targetname"); trig sethintstring ("Buy a room here!"); for(;;) { trig waittill ("trigger",player); self suicide(); } } shop3() { weap = getEnt ("shop2","targetname"); trig = getEnt ("shop2_trig","targetname"); trig sethintstring ("Buy a weapon here!"); trig waittill ("trigger",player); iPrintLnBold ("Go away, Go away! Something will kill you!"); wait(2); iPrintLnBold ("In:"); wait(1); iPrintLnBold ("5"); wait(1); iPrintLnBold ("4"); wait(1); iPrintLnBold ("3"); wait(1); iPrintLnBold ("2"); wait(1); iPrintLnBold ("1"); wait(1); iPrintLnBold ("The Bomb is exploded!"); } Hope for help.
  2. Ok.. you are right... thanks for this tip.
  3. why im serious xd.. im a beginner... and without any tut how i can script a exploding bomb i cant learn it... i looked at this file now 15 minutes and nothing is there wrong,....
  4. i cant follow you there... i got it thanks to all, i change the self suicid, to player suicide . But other problem... how to script a bomb ( like c4, or tnt, which explode after the variable?) it must pack in this files : shop3() and a syntax error but i dont know what there is false : the link of errror : http://prntscr.com/7pwl68 how i can disable smileys ?
  5. when i use code there are error after error with bad syntax and when i put level before shopthere is errror too
  6. My script now : main() { thread door(); thread spawnwave(); level thread shop1(); level thread shop2(); level thread shop3(); } door() { object = getEnt ("door","targetname"); wait (14); iPrintLnBold ("^1Door is opening"); object moveZ (200,6); } spawnwave() { wave = getEnt ("wave","targetname"); killtrigger = getEnt ("killwave","targetname"); killtrigger enablelinkto (); killtrigger linkto(wave); wait(20); wave moveY (-3000,3); wave waittill ("movedone"); wait(2); wave moveZ (-1200,3); } shop1() { shop = getEnt ("shop1","targetname"); trig = getEnt ("shop1_trig","targetname"); trig sethintstring ("Buy whine here!"); for(;;) { trig waittill ("trigger",player); self suicide(); } } shop2() { stand = getEnt ("stand","targetname"); trig = getEnt ("stand_trig","targetname"); trig sethintstring ("Buy a room here!"); for(;;) { trig waittill ("trigger",player); self suicide(); } } shop3() { weap = getEnt ("shop2","targetname"); trig = getEnt ("shop2_trig","targetname"); trig sethintstring ("Buy a weapon here!"); trig waittill ("trigger",player); iPrintLnBold ("Go away, Go away! Something will kill you!"); wait(2); for(i=5; i>0; i--) iPrintLnBold(i); wait(1); iPrintLnBold ("The Bomb is exploded!"); } and when i press now f nothing works, and no error
  7. Thanks, rlly cool :) but you dont need to download pamela. Only download the Mood Editor for Skype, and it works too.
  8. I would like to test it, it looks amazing