Heroes speciality

Official forum of the Wake of Gods mod to Heroes of Might and Magic III.
User avatar
Salamandre
Genie
Genie
Posts: 1032
Joined: 13 May 2006
Location: France
Contact:

Heroes speciality

Unread postby Salamandre » 07 Jul 2008, 06:29

I want to have several H with differnet upgrades speciality. For Sylvia it works. For Valeska it works. But Catherine refuses to get the proper text


!!HE-1:N?v1; [Get current hero #]
!!VRz1:S^Can upgrade Peasants and Gnolls to Legionaries!.^;
!!UN&v1=1:G2/1/2/1; [Set Valeska's specialty text to z1]
!!FU29750&v1=1:P; [Call function if Valeska]

!#HE1:X6/98/139/7;

!!HE-1:N?v1; [Get current hero #]
!!VRz2:S^Can upgrade archimages and powerliches to Enchanters!^;
!!UN&v1=3:G2/3/2/2; [Set Sylvia's specialty text to z1]
!!FU29750&v1=3:P; [Call function if Sylvia]

!#HE3:X6/35/65/136;


!!HE-1:N?v1; [Get current hero #]
!!VRz1:S^Can upgrade Lizard warriors and master gremlins to hoplites!.^;
!!UN&v146=1:G2/146/2/3; [Set Catherine's specialty text to z1]
!!FU29750&v1=146:P; [Call function if Catherine]

!#HE146:X6/101/29/171;


I think it has something to do with z2/z1. But cant figure what value to give to z to have different text for Catherine


problem solved. Found free variables in usage txt. Used z850 and it works:)

Return to “Wake of Gods”

Who is online

Users browsing this forum: No registered users and 7 guests