• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Why this doesn't work.

Status
Not open for further replies.
What does it tell you the problem is?
What is happening?
Where is your trigger? Can you post it?

It seems that the problem is with the GetRectCenter function. What you have there looks like some point... you can't get the center of a point....
 
I the problem is number 168.

What I want to make is a hero revive trigger but I can't get it to revive my hero on its starting position only in the center of the map.

I think this is custom script not jass.

Sorry for delay, but I dont have wc3 rightnow so i can't post the trigger.

call ReviveHeroLoc(OURHERO, GetRectCenter(GetPlayerStartLoc), true )

only thing i need is that if you can fix it so its select the player start location.
 
The problem is that you can easilly do this in GUI with no errors (JASS not needed).
Just stick to GUI as unless your out to learn JASS, it will be hard to interface with and you will always get annoying compile errors.

Under the hero action catogry, there should be one labled revive or something simlar. That does exactly what you want in GUI form so you can use it more easilly.
 
This way is much easier because I only need one trigger for all the heros to revive and it shows on my board thats why I like it this way.

Now going back to the problem:

call ReviveHeroLoc(OURHERO, GetRectCenter(GetPlayerStartLoc), true )

how do I fix it so selects hero hero starting location thats all I need help.
 
This way is much easier because I only need one trigger for all the heros to revive and it shows on my board thats why I like it this way.

Now going back to the problem:

call ReviveHeroLoc(OURHERO, GetRectCenter(GetPlayerStartLoc), true )

how do I fix it so selects hero hero starting location thats all I need help.

I don't think you understand the simple point that I was trying to explain, you will likely find NO help here and if you would post it in the JASS forum your problem would have already been solved oh so long ago. So instead of being a jerk to me for trying to tell you that your in the wrong place and direct you to the right place you should maybe listen.
 
Status
Not open for further replies.
Back
Top