Im sure this is a simple script ..I just cant get it right...
I need a text appears script when player has no shield equipped.
Thank you
int check
Débuté par
Knight_Shield
, juil. 23 2011 02:51
#1
Posté 23 juillet 2011 - 02:51
#2
Posté 23 juillet 2011 - 03:00
From what event?
Funky
Funky
#3
Posté 23 juillet 2011 - 03:20
Oh I been working on the radial craft menu.
It is on the craft menu conversation.
So the coversation would read ( Craft Shield -Not Possible- Shield not equipped )
EDIT: Im trying to make it new player friendly..I know when I was a noob I was like where is the craft shield option.Dint realize I needed to equip it. Ok maybe not all noobs would be as noob as me. lol
It is on the craft menu conversation.
So the coversation would read ( Craft Shield -Not Possible- Shield not equipped )
EDIT: Im trying to make it new player friendly..I know when I was a noob I was like where is the craft shield option.Dint realize I needed to equip it. Ok maybe not all noobs would be as noob as me. lol
Modifié par Knight_Shield, 23 juillet 2011 - 03:24 .
#4
Posté 23 juillet 2011 - 04:08
// returns TRUE if they have a shield equiped.
int StartingConditional()
{
int oLeft= GetBaseItemType(GetItemInSlot(INVENTORY_SLOT_LEFTHAND));
return oLeft== BASE_ITEM_LARGESHIELD ||
oLeft== BASE_ITEM_SMALLSHIELD ||
oLeft== BASE_ITEM_TOWERSHIELD;
}
//returns TRUE if they DO NOT have a shield equipted
int StartingConditional()
{
int oLeft= GetBaseItemType(GetItemInSlot(INVENTORY_SLOT_LEFTHAND));
return !(oLeft== BASE_ITEM_LARGESHIELD ||
oLeft== BASE_ITEM_SMALLSHIELD ||
oLeft== BASE_ITEM_TOWERSHIELD);
}
int StartingConditional()
{
int oLeft= GetBaseItemType(GetItemInSlot(INVENTORY_SLOT_LEFTHAND));
return oLeft== BASE_ITEM_LARGESHIELD ||
oLeft== BASE_ITEM_SMALLSHIELD ||
oLeft== BASE_ITEM_TOWERSHIELD;
}
//returns TRUE if they DO NOT have a shield equipted
int StartingConditional()
{
int oLeft= GetBaseItemType(GetItemInSlot(INVENTORY_SLOT_LEFTHAND));
return !(oLeft== BASE_ITEM_LARGESHIELD ||
oLeft== BASE_ITEM_SMALLSHIELD ||
oLeft== BASE_ITEM_TOWERSHIELD);
}
Modifié par Lightfoot8, 23 juillet 2011 - 04:21 .
#5
Posté 23 juillet 2011 - 04:16
EDIT: Its late didnt copy your script correctly.
It works great . Thanks
It works great . Thanks
Modifié par Knight_Shield, 23 juillet 2011 - 04:20 .
#6
Posté 23 juillet 2011 - 04:23
lol, You probably did copy it correctly. I had an error in it before the first edit.





Retour en haut






