~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  ChatChat  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» Creature Quest – The New Adventure from JVC (feat some old NWC members)
by Galaad 2017-06-23, 21:48

» The Floody Land
by Galaad 2017-06-21, 04:08

» H3SW: Character Portraits
by BoseDrache 2017-06-16, 09:04

» H3SW Recruitment Point - Enroth Needs You!
by qlczas_PL 2017-06-16, 07:51

» Welcome fellow Enrothians!
by qlczas_PL 2017-06-16, 07:46

» The Symphony of Heroes - Paul Romero with ochestra concert
by rrravyn 2017-06-14, 04:46

» Commanders?
by Ragoon 2017-06-09, 00:29

Poll
"Wait" in HoMM2?
Yes
81%
 81% [ 43 ]
No
19%
 19% [ 10 ]
Total Votes : 53
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
H3SW General Discussion
H3SW: Dwelling Development
H3SW Map List: Work in progress
Dervish Faction General Concept
Enrothian Fan Art
H3SW Recruitment Point - Enroth Needs You!
Серия книг "Земли Меча и Магии"
Introduce yourself

Share | 
 

 [Script System][Suggestions] HasSpellInGuild(town, spell) and more

View previous topic View next topic Go down 
AuthorMessage
Unknown_Hero
Minotaur
Minotaur
avatar

Messages : 313
Quality Points : 37
Registration Date : 2015-09-06

PostSubject: [Script System][Suggestions] HasSpellInGuild(town, spell) and more   2017-03-12, 05:22

Currently, there is no way to check if a spell is present in the Mage Guild of a town.

*

HasSpellInGuild(town, spell)
town: the town you want to check (see, for example, GetTown).
spell: the ID of the spell you want to check (see section "Spells").

Returns "true" if the specified spell is present in the Mage Guild of the specified town, returns "false" otherwise.

*

GetSpellInGuild(town, level, column)
town: the town you want to check (see, for example, GetTown).
level: the level of the Mage Guild you want to check.
column: a number from "0" to "4" representing which position of the spell in that level you want to check.

Returns the spell present at the specified level and column in the Mage Guild of the specified town.
Back to top Go down
Darmani
Master Modder
Master Modder
avatar

Messages : 163
Quality Points : 29
Registration Date : 2014-12-27

PostSubject: Re: [Script System][Suggestions] HasSpellInGuild(town, spell) and more   2017-03-13, 07:34

Noted.
Back to top Go down
 
[Script System][Suggestions] HasSpellInGuild(town, spell) and more
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» .....On The Loose: Lions And Tigers Panic US Town
» Day mothers in Cape Town
» One Woman in India dies every hour due to the dowry system
» Immune System
» Chelino Travel System

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: