Help with WOG map PLEASE!

Maps and the art of mapmaking.

Moderator: Moderators

User avatar
Cavorite
Leprechaun
Leprechaun
Posts: 15
Joined: 08 Jan 2006
Location: Calgary, Alberta Canada

Help with WOG map PLEASE!

Postby Cavorite » Apr 16 2017, 23:36

Hello
I am trying to make a script for WOG but can't get it to work. Can anyone here help me?
If yes I can give more information.

Thanks

cavorite@hotmail.com

User avatar
Galaad
Golem
Golem
Posts: 621
Joined: 06 Mar 2015

Re: Help with WOG map PLEASE!

Postby Galaad » Apr 17 2017, 14:36

Hi, I think you'd get better luck down HC, some ERM scripters hang in there, but it is likely you will need to give information first. :)

User avatar
Cavorite
Leprechaun
Leprechaun
Posts: 15
Joined: 08 Jan 2006
Location: Calgary, Alberta Canada

Re: Help with WOG map PLEASE!

Postby Cavorite » Apr 18 2017, 18:28

I'm making a map where the player can only recrute one hero from each town type. I have a script to disallow heroes from appearing in the tavern but can't get it to work. Please help. Thank you.

Ron at cavorite@hotmail.com

User avatar
Galaad
Golem
Golem
Posts: 621
Joined: 06 Mar 2015

Re: Help with WOG map PLEASE!

Postby Galaad » Apr 19 2017, 10:48

You're welcome. I think Sal asked you to show the script on the ERM thread down HC, you should do that.
Cheers

User avatar
Cavorite
Leprechaun
Leprechaun
Posts: 15
Joined: 08 Jan 2006
Location: Calgary, Alberta Canada

Re: Help with WOG map PLEASE!

Postby Cavorite » Apr 20 2017, 2:09

I can't figure out how to post on that site? I thought I posted there before but can't find the thred. ???

User avatar
Cavorite
Leprechaun
Leprechaun
Posts: 15
Joined: 08 Jan 2006
Location: Calgary, Alberta Canada

Re: Help with WOG map PLEASE!

Postby Cavorite » Apr 20 2017, 2:13

Here is the script:

ZVSE

!#TM4:S1/999/1/2; *** timer 4 every day for BLUE

!?TM4; *** trigger

!!OW:H1/55/0; *** how many heroes in v55
!!OW:H1/56/1; *** 1st Hero # in v56
!!OW:H1/57/2; *** 2nd Hero #t in v57
!!OW:H1/58/3; *** 3rd Hero # in v58
!!OW:H1/59/4; *** 4th Hero # in v59
!!OW:H1/60/5; *** 5th Hero # in v60
!!OW:H1/61/6; *** 6th Hero # in v61
!!OW:H1/62/7; *** 7th Hero # in v62
!!OW:H1/63/8; *** 8th Hero # in v63

!!HE-1:B2/?v64; *** current hero class in v64
!!VRv64:Sv64:2; *** current hero town type in v64
!!VRv65:Sv64*16; *** starting hero # for town type v65
!!VRv66:Sv65+16; *** ending hero # for town type v66

!!DO70/v65/v66/1&v55>0:P; *** do FUNCTION 70 16 times
----------------------------------------------------------------------------------------
FUNCTION #70
ZVSE

!?FU70; *** Function # 70

!!HEx16:R3/0/1; *** disable heroes in tavern for blue

User avatar
Galaad
Golem
Golem
Posts: 621
Joined: 06 Mar 2015

Re: Help with WOG map PLEASE!

Postby Galaad » Apr 20 2017, 7:29

I can't ERM for **** mate, otherwise I wouldn't redirect you and help you directly. :)

What do you mean you can't post in the thread? http://heroescommunity.com/viewthread.php3?TID=8288&PID=1424090#focus


Return to “Mapmaking Guild”

Who is online

Users browsing this forum: No registered users and 2 guests