View Single Post
  #5  
Old 07-24-2009, 02:05 PM
The Shadow of Death The Shadow of Death is offline
Registered Member
 
Join Date: Jul 2009
Posts: 6
Unhappy

I'm really beginning in MODding King's Bounty. I have already made MODs and maps in LUA with Heroes of Might and Magic V, but I don't know the functions and methods called by the game. Like :
Code:
Attack.atom_spawn(0, 1, "effect_rampage")
What does the "atom_spawn(0, 1, "effect_rampage")" method do ? And the "Attack" class, is it a class regrouping all informations and methods of the attacker unit ?
According to you, what type of method should be called in the LUA files to display this floatting text ? I found a txt file where they fix the floating texts font, color etc. But nowhere I can find the method that call it... It should be like this, no ? Am I wrong ?
Code:
Game.ShowFlyer(damage)
(where "damage" is a string argument that could be changed to "killed", local variable having as value the number of killed creatures).

Any idea ??
Reply With Quote