- Katılım
- 7 Nis 2025
- Konular
- 22
- Mesajlar
- 434
- Tepkime puanı
- 113
- Puan
- 93
- Konum
- İstanbul
- Web sitesi
- forumagel.com
cmd_gm.cpp
Arat:
Altına ekle:
Kanıt
ses eklemek için örnek,
* PythonNetworkStreamPhaseGameItem.cpp
Arat:
Altına ekle:
Arat:
C++:
ACMD(do_invisibility)
{
if (ch->IsAffectFlag(AFF_INVISIBILITY))
{
ch->RemoveAffect(AFFECT_INVISIBILITY);
Altına ekle:
C++:
ch->SpecificEffectPacket("d:\\ymir work\\effect\\monster\\yellow_tigerman_24_1.mse");
Kanıt
ses eklemek için örnek,
* PythonNetworkStreamPhaseGameItem.cpp
Arat:
C++:
if (pInstance)
{
CInstanceBase::RegisterEffect(CInstanceBase::EFFECT_TEMP, "", kSpecificEffect.effect_file, false);
pInstance->AttachSpecialEffect(CInstanceBase::EFFECT_TEMP);
}
Altına ekle:
C++:
if (strstr(kSpecificEffect.effect_file, "yellow_tigerman_24_1"))
{
CSoundManager::Instance().PlaySound2D("sound/ambience/gm_alert.wav");
}