• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Loads of Errors because of simple Trigger?

Status
Not open for further replies.
Level 4
Joined
Jan 4, 2007
Messages
67
Hey all..
I just tried to import a simple trigger to my map.
So i copied it,pasted it into my map and added the Variables.

Now after that i tried to save the map but got alot of errors.
So i deactivated the Trigger again and tried to save the map now but i still got the errors..
The Errors that appeared all were named like "invalild argument count"
 
Level 4
Joined
Jan 4, 2007
Messages
67
I already deleted the Trigger again because of the error but that also didnt help.
So i think its another problem with something else.
Here's a screenshot of the error,maybe that'll help



It may also be a problem of my computer because if i e.g. try to create an own skill based on wind walk i cant change the movement speed bonus. No matter what i type in it always turns to 0
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,551
It will only turn to 0 if you are using a negative value. Note that Wind Walk uses 0.01 - 1.00. Example: 0.15 = 15% move speed bonus. I think you can't use values above 10.00.

And no, it's not a problem with your computer. I think those units do not exist (referring to gg_unit_blabla) but I'm not an expert on JASS. Let me see if DSG is on Chat =P he might be able to help you.


EDIT: Ok, DSG says he needs you to post the whole script. Right click on a random place of the script, and select "Select All/Everything" (in your language). Afterwards, right-click again, and select Copy. Then, to post on the forum, use the [ JASS ] [ /JASS ] tags without the spaces. Left-click between the [ JASS ] [ /JASS ] tags. Press Ctrl and V together.

Example:

[JASS="JASS Code"]function Trig_Melee_Initialization_Actions takes nothing returns nothing
call MeleeStartingVisibility( )
call MeleeStartingHeroLimit( )
call MeleeGrantHeroItems( )
call MeleeStartingResources( )
call MeleeClearExcessUnits( )
call MeleeStartingUnits( )
call MeleeStartingAI( )
call MeleeInitVictoryDefeat( )
endfunction

//===========================================================================
function InitTrig_Melee_Initialization takes nothing returns nothing
set gg_trg_Melee_Initialization = CreateTrigger( )
call TriggerAddAction( gg_trg_Melee_Initialization, function Trig_Melee_Initialization_Actions )
endfunction
[/code]
 
Status
Not open for further replies.
Top