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.
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...
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
:(
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...
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.
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...
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 /...
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...
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?
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 -...
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...
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...