kalabasa Posted June 6, 2023 Group: Members Topic Count: 123 Topics Per Day: 0.05 Content Count: 478 Reputation: 14 Joined: 11/30/17 Last Seen: January 23 Share Posted June 6, 2023 I would love to know how could i seperate a weapon and a shield I wanted to create a menu that can only Read Shields and Weapons + Both hands on another one setarray .@indices[1], EQI_HEAD_TOP, EQI_ARMOR, EQI_HAND_R, EQI_HAND_L,EQI_GARMENT,EQI_SHOES,EQI_ACC_L,EQI_ACC_R; for(.@i = 1; .@i<getarraysize(.@indices); ++.@i) { if( getequipisequiped( .@indices[.@i] ) ) { .@menu$ += F_getpositionname(.@indices[.@i]) + "-[" + getequipname(.@indices[.@i]) + "]^000000"; .@equipped = 1; } .@menu$ += ":"; } if(!.@equipped){ end; } i want to put this but idk how this is for Shield Only. getiteminfo( getequipid( EQI_HAND_L ),2 ) != 4 ) Quote Link to comment Share on other sites More sharing options...
0 Rynbef Posted August 21, 2023 Group: Forum Moderator Topic Count: 48 Topics Per Day: 0.01 Content Count: 941 Reputation: 125 Joined: 05/23/12 Last Seen: Sunday at 06:19 AM Share Posted August 21, 2023 (getiteminfo(getequipid(EQI_HAND_L),ITEMINFO_TYPE) if it returns "armor" it is a shield. Rynbef~ Quote Link to comment Share on other sites More sharing options...
Question
kalabasa
I would love to know how could i seperate a weapon and a shield
I wanted to create a menu that can only Read Shields and Weapons + Both hands on another one
i want to put this but idk how this is for Shield Only.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.