Recent content by priest170234

  1. P

    System Status

    Okay, the problem is that, I am using NewGen. I opened the attached test map posted by J4L. I saved (Ctrl+S) and the compiler gave me error. So all code given was un-touched. Exactly the same map posted by J4L. EDIT: Fixed. It looks like its the problem with my JNGP..
  2. P

    System Status

    Question. When I try to compile the code, JassHelper gives me errors.. Line 793: Member redeclared: onInit Line 963: (From this Instance) Help?
  3. P

    Snippet DummyCaster

    One question... Since the player is set to Neutral.. It will be neutral who kills the unit instead of the player who kills it! How can I change that?
  4. P

    Review my Code!

    I stated in the Description. PRIME is a number whose factors is ONLY itself and 1 where integers below 2 are not considered prime.
  5. P

    Review my Code!

    Okay, I tried to code this myself. (Perhaps the first time I am coding myself, without help). Review this for me! This is a function to check whether a number is prime or not. Definition of Prime number: A number whose factors are 1 and itself Numbers less than or equal to 1 are not prime...
  6. P

    Help with TriggerRegisterPlayerChatEvent

    Thanks for helping make my script leak free!
  7. P

    Help with TriggerRegisterPlayerChatEvent

    YES! I got it at last! I re made the triggers. I have three triggers now, for easy editing and so on. TRIGGER ONE [Global Declaration] scope global initializer init globals string STRING integer RANDOM_INTEGER string array RANDOM_STRING[2] endglobals private function...
  8. P

    Help with TriggerRegisterPlayerChatEvent

    I don't understand that at all! Am I supposed to not use scope for the second trigger?
  9. P

    Shipyard

    You can use the default included ships in the object editor. You can create more ships by using Ctrl+Shift+N. If you want, you can download icons and models for individual different ships at warcraft modding sites.
  10. P

    Help with TriggerRegisterPlayerChatEvent

    I am still stuck. I checked my triggers, compiled correctly. When I type the correct string, the trigger does not execute my actions! Anyone help me check my script! Please! I know I am very close to getting it. TRIGGER ONE [PW] scope pw initializer onInit globals string STRING...
  11. P

    Help with TriggerRegisterPlayerChatEvent

    Not link, but in two separate triggers. Trigger one is for unit enters region and create the strings and show quest. And to enable trigger two. Trigger two is the player types the string. So do I create the global variables in trigger one? And excess in trigger two? If so, how? And is...
  12. P

    Help with TriggerRegisterPlayerChatEvent

    Okay. The code scope Something initializer onInit globals string STRING string array RANDOM_STRING[2] //chance the 2 for how much variable will be integer RANDOM_INTEGER endglobals private function Actions takes nothing returns nothing //------ALL MY CODE HERE...
  13. P

    Help with TriggerRegisterPlayerChatEvent

    Sorry for the stupid question: What's a scope? Can't I just use the normal different functions?
  14. P

    Help with TriggerRegisterPlayerChatEvent

    So is there anyway I can set the variable before it initializes the function?:) I compiled the file, with one problem. Invalid Scope name. How do I resolve that?
  15. P

    Help with TriggerRegisterPlayerChatEvent

    I have jassnewgenpack. Can I use that?
Top