Results 1 to 5 of 5
  1. #1
    MSgt. Shooter Person
    Join Date
    Nov 2011
    Posts
    49

    Default Is it possible? (set varialbe value in editor)

    As in topic. I created my class, placeable. can be volume or trigger no matter. Inside i have var, lets call it var int gate_number.

    Is it possible when i put this class in editor to my map to set that value there? to this certain "gate" ? I want each gate to start with different value. Creating subclass for each will be stupid. But i don't know how to set this value in uscript depends on map open and quantity of gates and place where it stands as this will change in all levels i'm creating.

    Is there way to add properties to F4 menu of my class in editor?
    Or maybe someone can point me into good direction.

    Also i would like to learn how to check on which platform-level my character is atm? In normal platform-style game, when jump up and down i want my game to track this. i was thinking to add triggervalues with platform-number setup on each edge. Or maybe will be better if i will just check position of character on axis and then depends on range of values i will set platform_level_number.

    Thanks for any help and advice

  2. #2

  3. #3
    Marrow Fiend
    Join Date
    Jun 2009
    Posts
    4,480

    Default

    var (MyVarCategory) int MyInt;

    The paranthesis will make it editable in the editor, the contents define where in the properties it will appear.
    Please don't send me private messages asking how to use UDK unless it has to do with my work, everything I can teach is already out there.

    I am not support, I am here to learn myself.

  4. #4
    MSgt. Shooter Person
    Join Date
    Nov 2011
    Posts
    49

    Default

    Thanks so much. I'm not native english speaker and sometimes it's dificult for me to find correct word to look around forum.
    Thank you so much again.

  5. #5

    Question

    I was about to ask a similar question: Where can you view or edit variables declared on a controller?
    You can edit the pawn variables by selecting the actor from the actor browser in UDK editor but how can you view the controller associated with that pawn. For example AI variables should probably be kept on the controller where they are used and I would like to edit those.
    Thanks, Ben


 

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.