Hey Guys,
before i go learn to work with MWidgets i want to create one tutorial to make Custom Room Tags.
Well, i keep this short just follow the step. The functions you have to find out by you self, i can't teach you that.
In this tutorial we are going to make a Custom room tag to have all the HP'S/AP's the same.
Syntax
Our first Function (HP/AP for every player the same):
Put this code in ZCharacter.cpp
I hope you guys learned a little bit from this.
Happy Coding!
Credits: qet123
before i go learn to work with MWidgets i want to create one tutorial to make Custom Room Tags.
Well, i keep this short just follow the step. The functions you have to find out by you self, i can't teach you that.
In this tutorial we are going to make a Custom room tag to have all the HP'S/AP's the same.
Syntax
Code:
If you are making a custom room tag you always have to start with:
if(strstr(ZGetGameClient()->GetStageName(), "[ROOMTAGNAME]"))
in the Room Tag field you type the room tag name.
So you will have this:
if(strstr(ZGetGameClient()->GetStageName(), "[SAMPLE]"))
{
Function
}
Our first Function (HP/AP for every player the same):
Put this code in ZCharacter.cpp
Code:
// HP and AP 500/500
if(strstr(ZGetGameClient()->GetStageName(), "[500HP]"))
{
m_Property.fMaxHP.Set_CheckCrc(500);
m_fPreMaxHP = 500;
m_Property.fMaxAP.Set_CheckCrc(500);
m_fPreMaxAP = 500;
}
I hope you guys learned a little bit from this.
Happy Coding!
Credits: qet123
Last edited by a moderator: