i have costume system that called "Orb" will be put on costume tab on alt+q but the item didn't have view and i want it to keep the appearance of alt+q general tab, trying some methode but have no result can some one help me ?
The Stories:
1. when Orb is equiping it will check if the player have equip on it, if yes the orb will keep the appearance of equip on general tab of equipment (alt+q)
2. in case the player use "Victorious Coronet" and equiped the Orb his view will be Victorious Coronet but when he change the headgear on general tab his view is still the Victorious Coronet, to solve this i think i will have continues check to keep right view appearance
and here i try using script Euphy's Quest Shop part to make it happen and dang i get stuck to how to make it happen, here my current script, didn't complete it yet, stuck on part after i got the timer runing how i can keep the function run...
i have costume system that called "Orb" will be put on costume tab on alt+q but the item didn't have view and i want it to keep the appearance of alt+q general tab, trying some methode but have no result can some one help me ?
The Stories:
1. when Orb is equiping it will check if the player have equip on it, if yes the orb will keep the appearance of equip on general tab of equipment (alt+q)
2. in case the player use "Victorious Coronet" and equiped the Orb his view will be Victorious Coronet but when he change the headgear on general tab his view is still the Victorious Coronet, to solve this i think i will have continues check to keep right view appearance
and here i try using script Euphy's Quest Shop part to make it happen and dang i get stuck to how to make it happen, here my current script, didn't complete it yet, stuck on part after i got the timer runing how i can keep the function run...
- script LookOveride2 -1,{ OnEnd: if (@qe_[6]) { changelook LOOK_HEAD_BOTTOM, @qe[3]; changelook LOOK_HEAD_TOP, @qe[4]; changelook LOOK_HEAD_MID, @qe[5]; } deletearray @qe_[0]; addtimer 1000, strnpcinfo(0)+"::OnEnd"; end;}//callfunc("LookOverride", 1);function script LookOverride { //setarray .@i_[1], EQI_HEAD_TOP, EQI_HEAD_MID, EQI_HEAD_LOW; setarray .@k_[1], LOOK_HEAD_TOP, LOOK_HEAD_MID, LOOK_HEAD_BOTTOM; setarray .@q[1], getequipid(EQI_HEAD_TOP), getequipid(EQI_HEAD_MID), getequipid(EQI_HEAD_LOW); setarray @qe_[1], getiteminfo(.@q[getarg(0)],5), getiteminfo(.@q[getarg(0)],11); setarray @qe_[3], getlook(LOOK_HEAD_BOTTOM), getlook(LOOK_HEAD_TOP), getlook(LOOK_HEAD_MID), 1; changelook .@k_[getarg(0)], @qe_[2]; addtimer 1000, "LookOveride2::OnEnd"; return;}and the item
{ Id: 26056 AegisName: "Destruction_Orb" Name: "Destruction Orb" Type: 5 Buy: 0 Upper: 7 Loc: 1024 Refine: false Script: <" bonus bAtkRate,3; "> OnEquipScript: <" callfunc("LookOverride", 1); "> OnUnequipScript: <" callfunc("LookOverride", 1); ">},and if someone have better idea.. please help me,
TBH - Litro
Share this post
Link to post
Share on other sites