wc3edit.net

United Warcraft 3 map hacking!
It is currently May 24th, 2020, 10:06 pm

All times are UTC




Post new topic Reply to topic  [ 15 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: December 14th, 2019, 11:02 pm 
Offline
Newcomer

Joined: October 9th, 2018, 5:02 pm
Posts: 2
Thanks for the fast and precise answer !


Top
 Profile  
 
PostPosted: March 3rd, 2020, 8:06 pm 
Offline
Newcomer

Joined: March 2nd, 2020, 11:51 am
Posts: 1
Thank you. But could you help make it so that " -repick can be used even after loading/saving." in this map.


Top
 Profile  
 
PostPosted: April 16th, 2020, 5:00 pm 
Offline
Junior Member
User avatar

Joined: April 4th, 2020, 5:25 pm
Posts: 40
thanks. You made this folder too easy. muehehe


Top
 Profile  
 
PostPosted: April 16th, 2020, 10:35 pm 
Offline
Super Moderator

Joined: February 3rd, 2009, 11:28 pm
Posts: 2328
Mikrov wrote:
Thank you. But could you help make it so that " -repick can be used even after loading/saving." in this map.

I know this post is sort of old, but this shouldn't be too hard to accomplish. I'll describe what I would do to make repick not get disabled, you can try it out yourself if you want to do this.

The first thing you need to do is discover what trigger is called to repick a hero. To do this, search for "-repick" in the script. You should find a call that is something like: TriggerRegisterPlayerChatEvent(triggerName, player, "-repick", true)

Now from there, you note down the trigger name. It'll be a weird looking variable like "UXN" or something.

Now you search for "call DisableTrigger(triggerName)" Delete all occurrences of this line. And repick should no longer be disabled.

If you don't find and calls to DisableTrigger, then try looking in the Conditions of the trigger. And if you don't find anything obvious that would make it not work there, look in the Actions and check if everything is in a big "if" block.


Top
 Profile  
 
PostPosted: April 17th, 2020, 5:36 am 
Offline
Junior Member
User avatar

Joined: April 4th, 2020, 5:25 pm
Posts: 40
owner123 wrote:
Mikrov wrote:
Thank you. But could you help make it so that " -repick can be used even after loading/saving." in this map.

I know this post is sort of old, but this shouldn't be too hard to accomplish. I'll describe what I would do to make repick not get disabled, you can try it out yourself if you want to do this.

The first thing you need to do is discover what trigger is called to repick a hero. To do this, search for "-repick" in the script. You should find a call that is something like: TriggerRegisterPlayerChatEvent(triggerName, player, "-repick", true)

Now from there, you note down the trigger name. It'll be a weird looking variable like "UXN" or something.

Now you search for "call DisableTrigger(triggerName)" Delete all occurrences of this line. And repick should no longer be disabled.

If you don't find and calls to DisableTrigger, then try looking in the Conditions of the trigger. And if you don't find anything obvious that would make it not work there, look in the Actions and check if everything is in a big "if" block.


Thank you for the advice. I will try it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: Motor and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)