The following script is the area where you can find out which companion is equipping what. Just good common knowledge to have.
//This script handles events for player & companion
script: player_core
// -----------------------------------------------------------------
// Legacy Heartbeat event. Left for the consumption of modders.
// Be careful with it, it's not nice to run on a lot of creatures...
// -----------------------------------------------------------------
//CTRL F THEN FIND THE FOLLOWING EVENT HANDLERS
// I ADDED THE FOLLOWING AS YOU CAN SEE
case EVENT_TYPE_EQUIP:
{
bEventHandled = HandleEvent_Equip(ev);
//grab which companion is getting equipped
object oTestGet = GetEventCreator(ev);
//------------------------------------------------------
//If you equip an item on morrigan this will print the following to the log:
// Script creator:gen00fl_morrigan
PrintToLog("creator:" + GetTag(oTestGet));
//-----------------------------------------------
break;
}
case EVENT_TYPE_UNEQUIP:
{
bEventHandled = HandleEvent_UnEquip(ev);
//this prints 'unequip' to to dragonage_1.log in your logs directory under dragon age in documents
PrintToLog("unequip");
break;
}
Tutorial: Which companion is equipping & unequipping?
Débuté par
JackFuzz
, janv. 14 2010 02:10
#1
Posté 14 janvier 2010 - 02:10





Retour en haut






