ga_kl_transferitems <- updated to handle cursed items, ownedPC, and 'modes'
- no checks are done for possible overload, though
Modifié par kevL, 23 août 2012 - 05:07 .
Modifié par kevL, 23 août 2012 - 05:07 .
// Give oItem to oGiveTo // If oItem is not a valid item, or oGiveTo is not a valid object, nothing will // happen. void ActionGiveItem(object oItem, object oGiveTo, int bDisplayFeedback=TRUE); // Take oItem from oTakeFrom // If oItem is not a valid item, or oTakeFrom is not a valid object, nothing // will happen. void ActionTakeItem(object oItem, object oTakeFrom, int bDisplayFeedback=TRUE);
Modifié par kevL, 23 août 2012 - 05:05 .
"$OBJECT_SELF" // OBJECT_SELF "$OWNER" // OBJECT_SELF (conversation owner) "$OWNED_CHAR" // GetOwnedCharacter "$PC" // PCSpeaker "$PC_LEADER" // FactionLeader (of first PC) "$PC_NEAREST" // NearestPC (owned and alive) "$PC_SPEAKER" // PCSpeaker "$MODULE" "$LASTSPEAKER"
object GetTarget(string sTarget = TARGET_OWNER);
kevL wrote...
holy cat i never seen that! The icons going a bit haywire sure, but not the character model.

Modifié par I_Raps, 03 septembre 2012 - 06:26 .
Modifié par I_Raps, 03 septembre 2012 - 06:24 .