Results 1 to 5 of 5
  1. #1
    MSgt. Shooter Person
    Join Date
    May 2010
    Location
    Stafford, UK
    Posts
    351

    Default Script issues in August Release

    Alright, so ive just updated to UDK August Beta..

    Code:
    D:\UDK\UDK-2010-08\Development\Src\Rail\Classes\UTWeap_D6_Bow.uc(901) : Error, Unrecognized member 'OwnerEvent' in class 'InventoryManager'
    D:\UDK\UDK-2010-08\Development\Src\Rail\Classes\UTWeap_D6_Fireball.uc(723) : Error, Unrecognized member 'OwnerEvent' in class 'InventoryManager'
    D:\UDK\UDK-2010-08\Development\Src\Rail\Classes\UTWeap_D6_Holy.uc(723) : Error, Unrecognized member 'OwnerEvent' in class 'InventoryManager'
    D:\UDK\UDK-2010-08\Development\Src\Rail\Classes\UTWeap_D6_Lightning.uc(723) : Error, Unrecognized member 'OwnerEvent' in class 'InventoryManager'
    D:\UDK\UDK-2010-08\Development\Src\Rail\Classes\UTWeap_D6_Spell.uc(723) : Error, Unrecognized member 'OwnerEvent' in class 'InventoryManager'
    D:\UDK\UDK-2010-08\Development\Src\Rail\Classes\UTWeap_D6_SwordSpell.uc(723) : Error, Unrecognized member 'OwnerEvent' in class 'InventoryManager'
    D:\UDK\UDK-2010-08\Development\Src\Rail\Classes\UTWeap_D6_Torch.uc(723) : Error, Unrecognized member 'OwnerEvent' in class 'InventoryManager'
    
    ..and 243 similar issues
    clearly some issue with the inventory manager class and it being changed since July beta.

    any ideas what to switch out "Owner Event" with since its basically ruined my scripts.

  2. #2
    Boomshot
    Join Date
    Oct 2007
    Location
    UK
    Posts
    2,211

    Default

    OwnerEvent was a function that could be used to notify inventory items when the player did certain things, like jump or fire a weapon. I haven't noticed any replacement for it, but chances are you don't need it, so just delete all calls to it.

    You're going to come across changes like this in every beta. If you're not happy having to code around them, then you can always just stick to one UDK version.

  3. #3
    MSgt. Shooter Person
    Join Date
    Nov 2009
    Posts
    32

    Default

    Same error just happened here, but only one in my case. It seems they've moved the owner event code from the engine inventory classes to UTInventory and UTInventoryManager. I've only just commented my event out for now, but it should probably just be a matter of copypasting the OwnerEvent functions (and its var's) along with any other related stuff over your own classes extending the base classes.

  4. #4
    Veteran
    Join Date
    May 2007
    Location
    Above KillZ, Below StallZ
    Posts
    9,953

    Default

    If you need the "OwnerEvent" functionality copy it out of the UT class, otherwise just remove your calls to it
    http://www.ericbla.de http://www.dungeondefenders.com http://en.wikipedia.org/wiki/Warm_Gun http://www.rekoil.com http://www.groundbranch.com

    - Please don't send me private messages asking programming questions, those would be better asked on the Programming forum here. Thanks

  5. #5
    MSgt. Shooter Person
    Join Date
    May 2010
    Location
    Stafford, UK
    Posts
    351

    Default

    thanks a lot for the replies guys. the OwnerEvent was for a half-implemented reload event, but im sure i can find a work around. either way, commented out for now and its all good =)

    now to wait while udk rebuilds all my shaders/mats (its done 5 in 20 minutes :P )


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.