~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  ChatChat  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  

Share | 
 

 [Script System][Suggestions] StopHeroMove()

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

Messages : 281
Quality Points : 33
Registration Date : 2015-09-06

PostSubject: [Script System][Suggestions] StopHeroMove()   2017-03-18, 04:44

Currently, if the hero already has a scheduled move when a message box is displayed, it continues its path when the message box is closed.

The expression "StopHeroMove" remedies this.

*

StopHeroMove()

Causes the hero to stop moving on the adventure map.

Example of use:

MessageBox("Beware! The swamps are filled with hungry creatures roaming around. Watch your steps and stick to the road.");
StopHeroMove();

The hero stops moving after the message box is closed.
Back to top Go down
 
[Script System][Suggestions] StopHeroMove()
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» One Woman in India dies every hour due to the dowry system
» Immune System
» Chelino Travel System
» Minecraft's Coordinate System
» Award 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: