Hi, Newbie here. I;m trying to get information on how I'd go about creating a MUT that assigns an ownership value/property to weapons when they are purchased at the trader. The purpose is to make it so that if a player buys more than 1 weapon (Firebug for instance buys multiple Flame Throwers) and then throws those weaps off to the side while he buys another, a different player cant come along pick it up and sell it .
So the base design would be:
(PSEUDO CODE)
if(!strcmp(weapon->ownername, player->name))
{
allow the weap to be picked up
}else{
msg("SORRY THIS IS NOT YOUR WEAPON");
}
Something along those lines with in, Id assume, the pickup class somewhere
Never worked with UnrealScript b4 - but any suggestions would be appreciated - just looking for a starting point.
Been through the Mut tutorials and it all makes sense - and have compiled stuff - but lost as far as the code structure and code references
TIA
So the base design would be:
(PSEUDO CODE)
if(!strcmp(weapon->ownername, player->name))
{
allow the weap to be picked up
}else{
msg("SORRY THIS IS NOT YOUR WEAPON");
}
Something along those lines with in, Id assume, the pickup class somewhere
Never worked with UnrealScript b4 - but any suggestions would be appreciated - just looking for a starting point.
Been through the Mut tutorials and it all makes sense - and have compiled stuff - but lost as far as the code structure and code references
TIA