~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» Concernig Balance in H3SW
[Script System] BuildInCurrentTown(building) Icon_minitimeby Ctesiphon Yesterday at 23:00

» Creature stack experience like in Wake of Gods
[Script System] BuildInCurrentTown(building) Icon_minitimeby Sibernethy Yesterday at 19:09

» My review of H3SW
[Script System] BuildInCurrentTown(building) Icon_minitimeby Sir Albe Yesterday at 01:15

» The Floody Land
[Script System] BuildInCurrentTown(building) Icon_minitimeby Sir Albe Yesterday at 01:07

» [H3SW 0.8.1] Migration
[Script System] BuildInCurrentTown(building) Icon_minitimeby Ctesiphon 2019-06-13, 01:37

» Pixel painting: Mefista
[Script System] BuildInCurrentTown(building) Icon_minitimeby Mefista 2019-06-04, 06:36

» [H3SW 0.8.1] The Chain
[Script System] BuildInCurrentTown(building) Icon_minitimeby Ctesiphon 2019-06-03, 03:40

Poll
"Wait" in HoMM2?
Yes
[Script System] BuildInCurrentTown(building) Redbar1180%[Script System] BuildInCurrentTown(building) Redbar12
 80% [ 55 ]
No
[Script System] BuildInCurrentTown(building) Redbar1120%[Script System] BuildInCurrentTown(building) Redbar12
 20% [ 14 ]
Total Votes : 69
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
H3SW General Discussion
H3SW: Dwelling Development
Heroes of Might and Magic 3: The Succession Wars - General info & Announcements
H3SW Map List: Work in progress
Welcome fellow Enrothians!
Enrothian Fan Art
Commanders?
H3SW Recruitment Point - Enroth Needs You!

Share
 

 [Script System] BuildInCurrentTown(building)

Go down 
AuthorMessage
Unknown_Hero
Vampire
Vampire
Unknown_Hero

Messages : 467
Quality Points : 60
Registration Date : 2015-09-06

[Script System] BuildInCurrentTown(building) Empty
PostSubject: [Script System] BuildInCurrentTown(building)   [Script System] BuildInCurrentTown(building) Icon_minitime2017-03-06, 22:05

Tested with Ironfist version 1.2.1+ (version of December 15, 2016).

*

BuildInCurrentTown(building)
building: the ID of the building to build (see section "Buildings").

Builds the given building in the current town (i.e. the town open in the town screen).

*

When "BuildInCurrentTown" is used, the program considers that a building has been built in the town for the current turn ("Cannot build. Already built here this turn.").

*

Suggestions:

"BuildInCurrentTown" enhanced version:

BuildInCurrentTown(building, construction)
building: the ID of the building to build (see section "Buildings").
construction: can be set to "0" or "1".
- "0" does not allow the construction of another building by the player during this turn ("Cannot build. Already built here this turn.").
- "1" allows the construction of another building by the player during this turn.

Builds the given building in the current town (i.e. the town open in the town screen). The town may or may not be considered already built for the current turn.
Back to top Go down
Darmani
Master Modder
Master Modder
Darmani

Messages : 239
Quality Points : 39
Registration Date : 2014-12-27

[Script System] BuildInCurrentTown(building) Empty
PostSubject: Re: [Script System] BuildInCurrentTown(building)   [Script System] BuildInCurrentTown(building) Icon_minitime2017-03-13, 07:39

Noted
Back to top Go down
 
[Script System] BuildInCurrentTown(building)
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
~ Forums of Enroth ~ :: Modding Guild :: Heroes of Might and Magic II: Project Ironfist :: Modding and Mapmaking-
Jump to: