Strings and ERT files

Official forum of the Wake of Gods mod to Heroes of Might and Magic III.
Pollo2002
Peasant
Peasant
Posts: 96
Joined: 24 Jan 2006

Strings and ERT files

Unread postby Pollo2002 » 18 May 2006, 07:18

I see that scripts have his ert files with strings to use, i have strings i would like to use but just for a map, can i create an ert file for the specified map or should i put all the strings i need on the script00.ert or other used scripts?

User avatar
Gaidal Cain
Round Table Hero
Round Table Hero
Posts: 6972
Joined: 26 Nov 2005
Location: Solna

Unread postby Gaidal Cain » 18 May 2006, 08:02

If you're just going to use it on a map, you can create your strings directly in the code. THe following line will store "Hello World!" in z100, which can be used just as the z variables in the ERT file:

Code: Select all

!!VRz100:S^Hello World!^;
ERT files were mainly meant for ease of translation of WoG into other languages than English.
You don't want to make enemies in Nuclear Engineering. -- T. Pratchett


Return to “Wake of Gods”

Who is online

Users browsing this forum: No registered users and 6 guests