i'm using the mi2 template for v2.70 and, after some tweaking, it works on v2.71.
now i'm trying to use ONLY object based scripting, and i'm stuck at this point:
function UsedInvMode(int mode, int item){
// It's used for checking if the template inventory mode passed as parameter 'mode'
// was used with the inventory item passed as parameter 'item'.
return (UsedMode(mode) && Tmode[mode].AGSmode==4 && character[EGO].activeinv==item);
it should become
return blablablablablabla && character[EGO].ActiveInventory == item.
well... "item" is an int, and character[].ActiveInventory's type is *InventoryItem.
how can i let it work? any ideas??
(sorry for my bad english, but i'm veeeeeery tired)
maybe i need to rewrite the whole template? :o :o
let me know...
now i'm trying to use ONLY object based scripting, and i'm stuck at this point:
function UsedInvMode(int mode, int item){
// It's used for checking if the template inventory mode passed as parameter 'mode'
// was used with the inventory item passed as parameter 'item'.
return (UsedMode(mode) && Tmode[mode].AGSmode==4 && character[EGO].activeinv==item);
it should become
return blablablablablabla && character[EGO].ActiveInventory == item.
well... "item" is an int, and character[].ActiveInventory's type is *InventoryItem.
how can i let it work? any ideas??

maybe i need to rewrite the whole template? :o :o
let me know...