Results 1 to 2 of 2
  1. #1

    Question How to automatically generate Tag

    How to automatically generate Tag for Pleaceble object
    for example I extend Note class and want generate tag in every new Instace of my object

    I just was setting waypoints and uncomfortable each time to change the tag
    The tag is responsible for the sequence of waypoints

    Code:
    class AbRaceWaypoint extends Note;
    
    DefaultProperties
    {
    	Begin Object Name=Sprite
    		Sprite=Texture2D'EditorResources.Flag1'
    		HiddenGame=True
    		AlwaysLoadOnClient=False
    		AlwaysLoadOnServer=False
    		SpriteCategoryName="Notes"
    	End Object
    	Components.Add(Sprite)
    
    }

  2. #2
    MSgt. Shooter Person
    Join Date
    Sep 2009
    Location
    Arlington, TX
    Posts
    372

    Default

    "Name" is already given a consecutive numeral per instance, why not just use Name, instead of Tag?


 

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.