DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • April 29, 2017, 02:16:21 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: 1 2 [3]   Go Down
  Print  
Author Topic: Beta release - LotGD v1.11 - DragonprimeEdition  (Read 16370 times)
0 Members and 1 Guest are viewing this topic.
Maeher
Codemeister
****
Offline Offline

Posts: 362


There's nothing to see here...


View Profile
« Reply #30 on: July 05, 2007, 09:23:50 PM »

bu wouldn't "enemy-defeat" and "battle-victory" be more suitable?

The battle is won in the very moment, that all enemies are killed...
Logged

There is no signature...
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #31 on: July 05, 2007, 09:28:54 PM »

This is actually only a naming thing... battly-victory for run for every enemy in the fight, battle victory-runonce only once per fight.

"enemy-defeat" would be a suitable name for when any enemy during fight is defeated. (which is not necessarily at the end of the fight!)
Logged

Running for more than three years now:
Maeher
Codemeister
****
Offline Offline

Posts: 362


There's nothing to see here...


View Profile
« Reply #32 on: July 05, 2007, 09:41:44 PM »

Ok, now I'm confused. As far as I understood, "battle-victory" was now run whenever an enemy is defeated. That's why I made this suggestion. Maybe I'm wrong, I will check the code later today.

And this is "only" a naming thing, but I think hooks should have more or less self-explanatory names.
Logged

There is no signature...
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #33 on: July 05, 2007, 09:54:30 PM »

battle-victory runs when the battle is finally over and the player has won. AND it then runs once for every enemy.
Logged

Running for more than three years now:
Pages: 1 2 [3]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
33 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search