Class LevelScriptActor
ALevelScriptActor is the base class for classes generated by ULevelScriptBlueprints.
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class LevelScriptActor : Actor
Remarks
ALevelScriptActor instances are hidden actors that exist within a level, and can execute level-wide logic (operating on specific actor instances within the level). The level-script's functionality is defined inside the ULevelScriptBlueprint itself (using the blueprint's node-based interface).
@see AActor @see https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Types/LevelBlueprint/index.html @see ULevelScriptBlueprint @see https://docs.unrealengine.com/latest/INT/Engine/Blueprints/index.html @see UBlueprint
Properties
| Improve this Doc View SourcebInputEnabled
Declaration
public bool bInputEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static LevelScriptActor DefaultObject { get; }
Property Value
Type | Description |
---|---|
LevelScriptActor |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static LevelScriptActor New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
LevelScriptActor |
RemoteEvent(Name)
Tries to find an event named "EventName" on all other levels, and calls it
Declaration
public bool RemoteEvent(Name EventName)
Parameters
Type | Name | Description |
---|---|---|
Name | EventName |
Returns
Type | Description |
---|---|
System.Boolean |
SetCinematicMode(Boolean, Boolean, Boolean, Boolean, Boolean)
Sets the cinematic mode on all PlayerControllers @
Declaration
public void SetCinematicMode(bool bCinematicMode, bool bHidePlayer, bool bAffectsHUD, bool bAffectsMovement, bool bAffectsTurning)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bCinematicMode | |
System.Boolean | bHidePlayer | |
System.Boolean | bAffectsHUD | |
System.Boolean | bAffectsMovement | |
System.Boolean | bAffectsTurning |
Remarks
param bInCinematicMode specify true if the player is entering cinematic mode; false if the player is leaving cinematic mode. @param bHidePlayer specify true to hide the player's pawn (only relevant if bInCinematicMode is true) @param bAffectsHUD specify true if we should show/hide the HUD to match the value of bCinematicMode @param bAffectsMovement specify true to disable movement in cinematic mode, enable it when leaving @param bAffectsTurning specify true to disable turning in cinematic mode or enable it when leaving
Events
| Improve this Doc View SourceLevelReset
@todo document
Declaration
public event LevelScriptActor.LevelReset_delegate LevelReset
Event Type
Type | Description |
---|---|
LevelScriptActor.LevelReset_delegate |
WorldOriginLocationChanged
Event called on world origin location changes @
Declaration
public event LevelScriptActor.WorldOriginLocationChanged_delegate WorldOriginLocationChanged
Event Type
Type | Description |
---|---|
LevelScriptActor.WorldOriginLocationChanged_delegate |
Remarks
param OldOriginLocation Previous world origin location @param NewOriginLocation New world origin location
Operators
| Improve this Doc View SourceImplicit(IntPtr to LevelScriptActor)
Convert from IntPtr to UObject
Declaration
public static implicit operator LevelScriptActor(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
LevelScriptActor |