Search results

  1. DaFatalGigabyte

    Map won't play when I add a globals block

    Good call, thanks! I forgot I had disabled script optimizer and vJASS syntax because it threw an error before over Blizzard's script about a real being converted into an integer. Now it's successfully compiling with a globals block.
  2. DaFatalGigabyte

    I need some help on creating a "Chained/Linked" Campaign(Rpg).

    Blizzard created a demo campaign, which you can open up using the Campaign Editor. You can open the maps in them that way and study them. I can't for the life of me figure out how they nested the maps in the demo campaign. I also can't seem to get my hero party to load properly. I could get...
  3. DaFatalGigabyte

    Map won't play when I add a globals block

    globals endglobals function testFunc takes real paramInput returns string return "" endfunction Line 33: parse error Line 33: statement outside of function Line 33: statement outside of function Line 34: statement outside of function Line 34: statement outside of function :(
  4. DaFatalGigabyte

    Map won't play when I add a globals block

    haha I always forget that pesky return. Even if I add it, the globals block still won't work.
  5. DaFatalGigabyte

    Map won't play when I add a globals block

    Indeed, I do. When I ran NewGen, I needed a shopping list of other stuff to get syntax checking to work. Is there anything else I need to install? I just made a new map, and put in an empty function that previously would have an error thrown by JassHelper, which was that at line 7118, a real...
  6. DaFatalGigabyte

    Map won't play when I add a globals block

    Seriously. It works without the globals block. When I add a globals block to the custom script globals integer Base = 0 endglobals it doesn't work. When I test the game, it goes to the main screen immediately.
  7. DaFatalGigabyte

    Diffrence between Rad2Deg() and bj_RADTODEG?

    bj_RADTODEG has a value of 180 / bj_PI. bj_DEGTORAD has a value of bj_PI / 180.
  8. DaFatalGigabyte

    I need some help on creating a "Chained/Linked" Campaign(Rpg).

    Store a boolean in the game cache indicating whether or not the player has gone through a tutorial, cinematic, or zone, or whatever. Use Game Cache - Load Boolean Value with the same Label, Category, and Game Cache (created with the same filename as the game cache was saved with) as for the...
  9. DaFatalGigabyte

    World Editor stuck at validating script

    Thanks, but it's Blizzard's script that pJASS says has an error, not mine. This is the custom script converted from a GUI trigger that sets an integer to 5/10. pJASS didn't say there was an error. function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing set udg_i = ( 5 /...
  10. DaFatalGigabyte

    World Editor stuck at validating script

    Thanks for the help. I installed NewGen and pJass to see if it would help. After turning off CampaignBuilder which apparently doesn't work (or needs some more ingredients I don't know about to function), I can save a map, and it doesn't lock up at script validation I think. But now, it won't...
  11. DaFatalGigabyte

    World Editor stuck at validating script

    I tried saving a map with a custom test script: function funcTest takes real paramInput returns string endfunction and it locks up when generating the map script. Has anyone had this problem before? How do you fix it?
  12. DaFatalGigabyte

    I need some help on creating a "Chained/Linked" Campaign(Rpg).

    To save a game cache, use "Game Cache - Create Game Cache" with some filename, store information in the game cache, and then save the game cache using triggers. You can set a variable to a game cache to use it outside of the trigger that created it. To load a game cache, use "Game Cache -...
  13. DaFatalGigabyte

    Snippet GUI-Friendly Damage Detection

    I'm using GDD_Damage. It came that way ^^. I have a hunch that it's because I set attack vs. armor damage factors all to zero. I was just wondering why it could be that it displays 1.000 damage when it should show zero. Just curious. I know some people display GDD_Event so damage shows up as...
  14. DaFatalGigabyte

    Snippet GUI-Friendly Damage Detection

    First of all, thank God for Weep! I was going to make a custom attack system in GUI that would have to use the Damage Point of an attacking melee unit, or the time it would take for a projectile to get to the target for a ranged attack (Distance / Projectile Speed), to time the damage right, but...
Top