Save-Point
Icon next to ennemy name in battle ? - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: Icon next to ennemy name in battle ? (/thread-1843.html)



Icon next to ennemy name in battle ? - mageone - 10-08-2009

hello,

i would like to show an icon in the window containing name of the selected ennemy
during battle.

How can i add this feature ?

thank you for your support !Cheery


Icon next to ennemy name in battle ? - Alpha-Mad - 10-08-2009

Well first, we need to know what battle system you are using. Secondly, a picture would help too. Take a screen shot and show us where you are talking about so that someone can better assist you. This seems like a rather easy edit. Thanks Laughing


Icon next to ennemy name in battle ? - mageone - 10-08-2009

hehe... yes, you're right AlphaMad..

here is the screeny, exactly how i want it to be. But the icon (Red Circle) was added
on the picture. How can i add it inside the game ?

i'm using Enu SBS Tenketai battle system.
thank you

[Image: icon_battle_ss.png]


Icon next to ennemy name in battle ? - DerVVulfman - 10-09-2009

That could be fine if it was a single entity being targeted: Ghost, Troll, hummingbird.

But if you are using a skill that targets the entire enemy troop, that could cause some problems. And if you are using a script that can target a random enemy... another problem

Oh, and if you're using a curative skill that affects fellow party members...

Yeah, this could be a toughie.


Icon next to ennemy name in battle ? - mageone - 10-09-2009

Yes i got your point DerWulf. Actually i need the icon only when target single enemy. Not for groups and not for allies.
in other words, the condition is the same than when single enemy name appears.


Icon next to ennemy name in battle ? - Alpha-Mad - 10-09-2009

I'm no scripter, but I know a little about how they work.

What if there was a script that worked similar to a msg system. The syntax [/1] could be icon number 1 in a graphics folder. Then, you could just name a ghost, for instance [/1]Ghost and the icon would appear.

I don't know how "do-able" this is though, sorry.

For a worst case scenario, you could always just put a [Fire], [Ice], etc in the name of the enemy so that the player recognizes what element each enemy is. Just a suggestion Laughing


Icon next to ennemy name in battle ? - mageone - 10-09-2009

Ha ha.. Thank you Alpha ! Your idea is actually how i was doing for now :p

but i really hate it :(

About the script thing yes you re right.
as well, if i d knew how to set up codes, i d do as follow :

[enemy_ID, x, x, x] = show_icon "Fire" in the window_name
but i don't stand a chance this works like that :P