Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Condition
#1
[] 
Is it possible to add caracteristic condition to character?
Probably yes. Do anyone know how?
Idk where should i post this?
Reply
Thanks given by:
#2
What kind of condition? Check if the currently focused object is the right character? That'd be something like
    ASM-Code:
cmp eax,yourid
je somearbitrarilydefinedaddress


HP lower than 250? MP higher than 300? bdefend = 20? Frame #168?
Check this remarkable document and set up the code to something similar to this:
    ASM-Code:
cmp dword ptr ds:[eax+300h],250
jl somearbitratilydefinedaddress
(this would check if dark red hp < 250 and if yes, go somewhere where this is dealt with.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by: Marko




Users browsing this thread: 1 Guest(s)