Check out our discord at https://discord.gg/3u69jMa 

Unreal Class Reference: Difference between revisions

From SWRC Wiki
Jump to navigation Jump to search
Created page with "'''Unreal Classes''' Tim Sweeney Epic MegaGames, Inc. http://www.epicgames.com/ Audience: Level Designers, UnrealScript Programmers, C++ Programmers. === About this document === This is a quick attempt to describe the most important classes and variables in Unreal. It is currently very sparse but will be expanded over time. === Engine.Object === '''Purpose:''' Serves as the base class of all objects in Unreal. All objects inherit from Object. '''Variables:''..."
 
No edit summary
Line 8: Line 8:


Audience: Level Designers, UnrealScript Programmers, C++ Programmers.  
Audience: Level Designers, UnrealScript Programmers, C++ Programmers.  


=== About this document ===
=== About this document ===


This is a quick attempt to describe the most important classes and variables in Unreal. It is currently very sparse but will be expanded over time.  
This is a quick attempt to describe the most important classes and variables in Unreal. It is currently very sparse but will be expanded over time.  


=== Engine.Object ===
=== Engine.Object ===
Line 18: Line 20:


Serves as the base class of all objects in Unreal. All objects inherit from Object.  
Serves as the base class of all objects in Unreal. All objects inherit from Object.  


'''Variables:'''
'''Variables:'''
Line 25: Line 28:
*Name: The object's name.
*Name: The object's name.
*Class: The object's class.
*Class: The object's class.
'''Functions:'''
*Log: Writes a message to the log file, usually \Unreal\System\Unreal.log.
*Warn: Writes a script warning to the log file, including the current script and function.
*Localize: Returns a localized (internationally translated) string from a package's .int file.
*GotoState: Sets the object's current state, None means no state. If no label is specified, the Begin label is gone to.
*IsInState: Returns whether this object is in the specified state.
*GetStateName: Returns the name of this object's current stae, None if none.
*Enable: Enables a probe event. The only functions which work with Enable and Disable are: Spawned, Destroyed, GainedChild, LostChild, Trigger, UnTrigger, Timer, HitWall, Falling, Landed, ZoneChange, Touch, UnTouch, Bump, BeginState, EndState, BaseChange, Attach, Detach, ActorEntered, ActorLeaving, KillCredit, AnimEnd, EndedRotation, InterpolateEnd, EncroachingOn, EncroachedBy, FootZoneChange, HeadZoneChange, PainTimer, SpeechTimer, MayFall, Die, Tick, PlayerTick, Expired, SeePlayer, EnemyNotVisible, HearNoise, UpdateEyeHeight, SeeMonster, SeeFriend, SpecialHandling, BotDesireability.
*Disable: Disables a probe event.
*GetPropertyText: Converts the value of an arbirary variable to text.
*SetPropertyText: Sets the value of an arbitrary variable from text.
*SaveConfig: Saves the current values of all "config" variables to the Unreal.ini file.
*ResetConfig: Resets the values of the "config" variables to the originals in the Default.ini file.

Revision as of 02:43, 18 May 2024

Unreal Classes

Tim Sweeney

Epic MegaGames, Inc.

http://www.epicgames.com/

Audience: Level Designers, UnrealScript Programmers, C++ Programmers.


About this document

This is a quick attempt to describe the most important classes and variables in Unreal. It is currently very sparse but will be expanded over time.


Engine.Object

Purpose:

Serves as the base class of all objects in Unreal. All objects inherit from Object.


Variables:

  • Parent: The object's parent object (for scoping).
  • ObjectFlags: The object's flags, described in the Packages document.
  • Name: The object's name.
  • Class: The object's class.


Functions:

  • Log: Writes a message to the log file, usually \Unreal\System\Unreal.log.
  • Warn: Writes a script warning to the log file, including the current script and function.
  • Localize: Returns a localized (internationally translated) string from a package's .int file.
  • GotoState: Sets the object's current state, None means no state. If no label is specified, the Begin label is gone to.
  • IsInState: Returns whether this object is in the specified state.
  • GetStateName: Returns the name of this object's current stae, None if none.
  • Enable: Enables a probe event. The only functions which work with Enable and Disable are: Spawned, Destroyed, GainedChild, LostChild, Trigger, UnTrigger, Timer, HitWall, Falling, Landed, ZoneChange, Touch, UnTouch, Bump, BeginState, EndState, BaseChange, Attach, Detach, ActorEntered, ActorLeaving, KillCredit, AnimEnd, EndedRotation, InterpolateEnd, EncroachingOn, EncroachedBy, FootZoneChange, HeadZoneChange, PainTimer, SpeechTimer, MayFall, Die, Tick, PlayerTick, Expired, SeePlayer, EnemyNotVisible, HearNoise, UpdateEyeHeight, SeeMonster, SeeFriend, SpecialHandling, BotDesireability.
  • Disable: Disables a probe event.
  • GetPropertyText: Converts the value of an arbirary variable to text.
  • SetPropertyText: Sets the value of an arbitrary variable from text.
  • SaveConfig: Saves the current values of all "config" variables to the Unreal.ini file.
  • ResetConfig: Resets the values of the "config" variables to the originals in the Default.ini file.