Quote:
Originally Posted by Hassat Hunter
Don't have ; after the if (after all, it's no end).
Also pretty sure JC's posts tells to use GetBaseItemType(BASE_ITEM_BLASTER_PISTOL), not GetBaseItemType(12), though not sure on that one...
|
Quote:
Originally Posted by JCarter426
Either one works.
Code:
int StartingConditional() {
object oWeap = GetItemInSlot(INVENTORY_SLOT_RIGHTWEAPON, GetPartyLeader());
if ( GetBaseItemType(oWeap) == 12 ) {
return TRUE;
}
return FALSE;
}
That should do it.
|
Thanks both of you.
EDIT: I've made conditional script for all weapons in the game, I'll test them out and report back whether it works.