Property | Type | Description | |
---|---|---|---|
CanBePickedUp | bool | ||
CanBeUsed | bool | ||
InvDisplayIndex | int | ||
Link | int | ||
Owner | int | ||
PickedUp | bool | ||
PlaySoundEffects | bool | ||
Quality | int | ||
WorldDisplayIndex | int | ||
animationStarted | bool | ||
aud | AudioSource | ||
flags | int | ||
ignoreSprite | bool | ||
inventorySlot | int | ||
isAnimated | bool | ||
isEnchanted | bool | ||
isIdentified | bool | ||
isQuant | bool | ||
item_id | int | ||
tc | TextureController |
Method | Description | |
---|---|---|
Alias ( int id ) : int | ||
AliasItemId ( ) : int | ||
Attack ( int damage, GameObject source ) : bool | ||
CanMerge ( ObjectInteraction mergingInto, ObjectInteraction mergingFrom ) : bool | ||
ChangeType ( int newID, int newType ) : bool | ||
CombineObject ( GameObject InputObject1, GameObject InputObject2 ) : GameObject | ||
CopyGameObjectInteraction ( GameObject target ) : ObjectInteraction | ||
CreateNPC ( GameObject myObj, string NPC_ID, string EditorSprite, int npc_whoami ) : void | ||
CreateNewObject ( int NewItem_id ) : ObjectInteraction |
Creates a new game object at run time.
|
|
CreateObjectGraphics ( GameObject myObj, string AssetPath, bool BillBoard ) : GameObject | ||
CreateObjectInteraction ( GameObject myObj, GameObject parentObj, float DimX, float DimY, float DimZ, float CenterY, string WorldString, string InventoryString, string EquipString, int ItemType, int ItemId, int link, int Quality, int Owner, int isMoveable, int isUsable, int isAnimated, int useSprite, int isQuant, int isEnchanted, int flags, int inUseFlag ) : ObjectInteraction | ||
CreateObjectInteraction ( GameObject myObj, float DimX, float DimY, float DimZ, float CenterY, string WorldString, string InventoryString, string EquipString, int ItemType, int ItemId, int link, int Quality, int Owner, int isMoveable, int isUsable, int isAnimated, int useSprite, int isQuant, int isEnchanted, int flags, int inUseFlag ) : ObjectInteraction | ||
CreateObjectInteraction ( GameObject myObj, float DimX, float DimY, float DimZ, float CenterY, string WorldString, string InventoryString, string EquipString, int ItemType, int ItemId, int link, int Quality, int Owner, int isMoveable, int isUsable, int isAnimated, int useSprite, int isQuant, int isEnchanted, int flags, int inUseFlag, string ChildName ) : ObjectInteraction | ||
Equip ( int SlotNo ) : bool | ||
ExamineVerb ( ) : string | ||
FailMessage ( ) : bool | ||
GetEquipDisplay ( ) : Sprite | ||
GetEquipString ( ) : string | ||
GetHitFrameEnd ( ) : int | ||
GetHitFrameStart ( ) : int | ||
GetImpactPoint ( ) : Vector3 |
Gets the impact point location that will spawn when this object is hit.
|
|
GetInventoryDisplay ( ) : Sprite | ||
GetItemType ( ) : int |
Gets the type of the item from object masters. UWE object type codes.
|
|
GetQty ( ) : int | ||
GetWeight ( ) : float | ||
GetWorldDisplay ( ) : Sprite | ||
IsStackable ( ) : bool | ||
LookDescription ( ) : bool | ||
LookDescriptionContext ( ) : string |
Looks the description to be displayed in a context menu.
|
|
Merge ( ObjectInteraction mergingInto, ObjectInteraction mergingFrom ) : void | ||
OnCollisionEnter ( Collision collision ) : void | ||
Pickup ( ) : bool | ||
PickupVerb ( ) : string | ||
PutItemAway ( int SlotNo ) : bool | ||
RefreshAnim ( ) : void | ||
SetNPCProps ( GameObject myObj, int npc_whoami, int npc_xhome, int npc_yhome, int npc_hunger, int npc_health, int npc_hp, int npc_arms, int npc_power, int npc_goal, int npc_attitude, int npc_gtarg, int npc_talkedto, int npc_level, int npc_name, string gtarg_name, string NavMeshRegion ) : void | ||
SetWorldDisplay ( Sprite NewSprite ) : void | ||
Split ( ObjectInteraction splitFrom ) : void | ||
Split ( ObjectInteraction splitFrom, ObjectInteraction splitTo ) : void | ||
Start ( ) : void | ||
TalkTo ( ) : bool | ||
UnEquip ( int SlotNo ) : bool | ||
Update ( ) : void | ||
UpdateAnimation ( ) : void | ||
Use ( ) : bool | ||
UseObjectOnVerb_Inv ( ) : string | ||
UseObjectOnVerb_World ( ) : string | ||
UseVerb ( ) : string | ||
consumeObject ( ) : void | ||
getMessageLog ( ) : ScrollController |
public Attack ( int damage, GameObject source ) : bool | ||
damage | int | |
source | GameObject | |
return | bool |
public static CanMerge ( ObjectInteraction mergingInto, ObjectInteraction mergingFrom ) : bool | ||
mergingInto | ObjectInteraction | |
mergingFrom | ObjectInteraction | |
return | bool |
public ChangeType ( int newID, int newType ) : bool | ||
newID | int | |
newType | int | |
return | bool |
public CombineObject ( GameObject InputObject1, GameObject InputObject2 ) : GameObject | ||
InputObject1 | GameObject | |
InputObject2 | GameObject | |
return | GameObject |
public CopyGameObjectInteraction ( GameObject target ) : ObjectInteraction | ||
target | GameObject | |
return | ObjectInteraction |
public static CreateNPC ( GameObject myObj, string NPC_ID, string EditorSprite, int npc_whoami ) : void | ||
myObj | GameObject | |
NPC_ID | string | |
EditorSprite | string | |
npc_whoami | int | |
return | void |
public static CreateNewObject ( int NewItem_id ) : ObjectInteraction | ||
NewItem_id | int | New item identifier. |
return | ObjectInteraction |
public static CreateObjectGraphics ( GameObject myObj, string AssetPath, bool BillBoard ) : GameObject | ||
myObj | GameObject | |
AssetPath | string | |
BillBoard | bool | |
return | GameObject |
public static CreateObjectInteraction ( GameObject myObj, GameObject parentObj, float DimX, float DimY, float DimZ, float CenterY, string WorldString, string InventoryString, string EquipString, int ItemType, int ItemId, int link, int Quality, int Owner, int isMoveable, int isUsable, int isAnimated, int useSprite, int isQuant, int isEnchanted, int flags, int inUseFlag ) : ObjectInteraction | ||
myObj | GameObject | |
parentObj | GameObject | |
DimX | float | |
DimY | float | |
DimZ | float | |
CenterY | float | |
WorldString | string | |
InventoryString | string | |
EquipString | string | |
ItemType | int | |
ItemId | int | |
link | int | |
Quality | int | |
Owner | int | |
isMoveable | int | |
isUsable | int | |
isAnimated | int | |
useSprite | int | |
isQuant | int | |
isEnchanted | int | |
flags | int | |
inUseFlag | int | |
return | ObjectInteraction |
public static CreateObjectInteraction ( GameObject myObj, float DimX, float DimY, float DimZ, float CenterY, string WorldString, string InventoryString, string EquipString, int ItemType, int ItemId, int link, int Quality, int Owner, int isMoveable, int isUsable, int isAnimated, int useSprite, int isQuant, int isEnchanted, int flags, int inUseFlag ) : ObjectInteraction | ||
myObj | GameObject | |
DimX | float | |
DimY | float | |
DimZ | float | |
CenterY | float | |
WorldString | string | |
InventoryString | string | |
EquipString | string | |
ItemType | int | |
ItemId | int | |
link | int | |
Quality | int | |
Owner | int | |
isMoveable | int | |
isUsable | int | |
isAnimated | int | |
useSprite | int | |
isQuant | int | |
isEnchanted | int | |
flags | int | |
inUseFlag | int | |
return | ObjectInteraction |
public static CreateObjectInteraction ( GameObject myObj, float DimX, float DimY, float DimZ, float CenterY, string WorldString, string InventoryString, string EquipString, int ItemType, int ItemId, int link, int Quality, int Owner, int isMoveable, int isUsable, int isAnimated, int useSprite, int isQuant, int isEnchanted, int flags, int inUseFlag, string ChildName ) : ObjectInteraction | ||
myObj | GameObject | |
DimX | float | |
DimY | float | |
DimZ | float | |
CenterY | float | |
WorldString | string | |
InventoryString | string | |
EquipString | string | |
ItemType | int | |
ItemId | int | |
link | int | |
Quality | int | |
Owner | int | |
isMoveable | int | |
isUsable | int | |
isAnimated | int | |
useSprite | int | |
isQuant | int | |
isEnchanted | int | |
flags | int | |
inUseFlag | int | |
ChildName | string | |
return | ObjectInteraction |
public static Merge ( ObjectInteraction mergingInto, ObjectInteraction mergingFrom ) : void | ||
mergingInto | ObjectInteraction | |
mergingFrom | ObjectInteraction | |
return | void |
public OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
return | void |
public static SetNPCProps ( GameObject myObj, int npc_whoami, int npc_xhome, int npc_yhome, int npc_hunger, int npc_health, int npc_hp, int npc_arms, int npc_power, int npc_goal, int npc_attitude, int npc_gtarg, int npc_talkedto, int npc_level, int npc_name, string gtarg_name, string NavMeshRegion ) : void | ||
myObj | GameObject | |
npc_whoami | int | |
npc_xhome | int | |
npc_yhome | int | |
npc_hunger | int | |
npc_health | int | |
npc_hp | int | |
npc_arms | int | |
npc_power | int | |
npc_goal | int | |
npc_attitude | int | |
npc_gtarg | int | |
npc_talkedto | int | |
npc_level | int | |
npc_name | int | |
gtarg_name | string | |
NavMeshRegion | string | |
return | void |
public SetWorldDisplay ( Sprite NewSprite ) : void | ||
NewSprite | Sprite | |
return | void |
public static Split ( ObjectInteraction splitFrom ) : void | ||
splitFrom | ObjectInteraction | |
return | void |
public static Split ( ObjectInteraction splitFrom, ObjectInteraction splitTo ) : void | ||
splitFrom | ObjectInteraction | |
splitTo | ObjectInteraction | |
return | void |