Results 1 to 6 of 6
  1. #1
    MSgt. Shooter Person
    Join Date
    Apr 2010
    Posts
    65

    Default Is there an Unreal Script Refrence?

    Ok first of all I have no experience with programming at all, so please don't assume I know something, but also don't write me off as unhelpable, because I'm a very fast learner.

    Ok so I took a break from trying to understand unrealscript for a while and decided to mess around with kismet instead. This was a good idea cause I think I got a better understanding of how unrealscript works, but I'd like someone to tell me if I'm right or wrong.

    Basically, what I think is going on is when you create a new script, you declare variables, which are the things that stuff can happen to, then you plot out all the "if this, then that" which can happen to those variables, right?

    If that's the case, is there a list somewhere that has all the varibles you can use, and what they are, and more importantly is there a list somewhere that has all the "if's" and "then's" and what they do?

    I'm kinda looking for something like the Unreal Kismet Reference, but for Unreal Script.

    Edit:
    Also, is it possible to create new variables (other than classes) or does that require access to the source code?
    Last edited by sargos7; 12-15-2010 at 09:09 AM. Reason: added after edit:

  2. #2

  3. #3
    MSgt. Shooter Person
    Join Date
    Apr 2010
    Posts
    65

    Default

    Awesome, thankyou very much... so do I have the basic idea of it then?

    Well if I dont this looks like it will teach me, hehe.

  4. #4
    Palace Guard

    Join Date
    Jul 2006
    Location
    WorldInfo_61
    Posts
    3,538
    Gamer IDs

    Gamertag: KickedWhoCares

    Default

    Theres actually a link right up the top of this page (not sure if its on everyones page) but it says documentation.
    Got UnrealScript skills?

    BeyondUnreal Wiki
    There's no formula for fun

  5. #5
    MSgt. Shooter Person
    Join Date
    Oct 2010
    Posts
    51

    Default

    As for your question regarding variables, yes you can create new variables. When you do this:

    Code:
    var int SomeNumber
    you create a new integer instance member variable called "SomeNumber". When you declare a variable inside a function you use "local" instead of "var". In UnrealScript all objects except for the primitive types are objects. The primitive types are byte, int, bool, float, string, constant, enumeration, name and delegate. (The list might be incomplete).

    Listing "all variables you can use in the UDK" would not be smart since the list would be very very long. However, with something like UncodeX you can list all classes included in the engine, and for every class you can list all members.

  6. #6

    Default

    Adding to unvestigate's list, Vector and Rotator are common variable types (technically they're structs - predefined packages of variables). They're used for expressing position and rotation of meshes, and you'll see them everywhere if you start reading over the Pawn, Camera, Controller, or KAsset classes, which are all good places to start.


 

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.