In inventoryslot.uc(which opens through flash) I see function acceptDrop. I added a trace command to that:
trace("Dropped " + data.type + " (" + data.asset + ") !");
When I drop an item, it is correctly tracing the asset number and type, but i tried to do a ExternalInferface.Call in the function, but it says that it can't find 'call'. I made sure that I put import flash.external.ExternalInterface; on the top, but it doesn't seem to be working. How can this code be referenced by unrealscript? I have looked all over and can't find the answer.
Thanks for all your help.
EDIT: The reason I want a ExternalInferface.Call is so I can call an UnrealScript function and modify armor type that is currently equipped on the player.
trace("Dropped " + data.type + " (" + data.asset + ") !");
When I drop an item, it is correctly tracing the asset number and type, but i tried to do a ExternalInferface.Call in the function, but it says that it can't find 'call'. I made sure that I put import flash.external.ExternalInterface; on the top, but it doesn't seem to be working. How can this code be referenced by unrealscript? I have looked all over and can't find the answer.
Thanks for all your help.
EDIT: The reason I want a ExternalInferface.Call is so I can call an UnrealScript function and modify armor type that is currently equipped on the player.
Comment