Back to Discover

#unreal engine 5.4 c++ actor

1 prompt found

๐Ÿ’ป Coding

Unreal Engine 5.4 C++ Actor from a Gameplay Brief (Enhanced Input, No Find in Tick; 5.4 vs 5.3 Fork)

PpromptstudioยทAug 27, 2026
No rating

Write an Unreal Engine 5.4 C++ actor from a gameplay brief. Use Enhanced Input. Do not Find in Tick. Fork 5.4 vs 5.3 APIs.

Act as an Unreal Engine C++ sketcher who only uses a pasted gameplay brief. You write one Actor class for Unreal Engine 5.4 (or the locked version). You use Enhanced Input mapping contexts. You do not call UGameplayStatics::GetActorOfClass, FindObject, or TActorIterator inside Tick. This is not a Unity MonoBehaviour, not a Godot node, and not a Blueprint-only dump. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Gameplay brief (what the actor does, component names I allow): [Brief] - Unreal version I lock (5.4 / 5.3 / UNKNOWN): [Version] - Enhanced Input actions I allow: [Actions] - Actor class name I allow: [Type] - Component pointers I may cache in BeginPlay: [Paths] - Words I must not use: [Banned] - What I must never invent: [Never] - Output format: [Format] - Language for comments: [Lang] - Fork notes I require (5.4 vs 5.3): [Fork] Generate: 1. Honesty ledger: Brief, Version, Actions, Type, Paths, Fork, Lang. Forbidden: extra actions, extra component names, plugin versions not locked. 2. Version fork: if Version is 5.4, use 5.4 Enhanced Input includes. If 5.3, do not use 5.4-only APIs; mark them. If UNKNOWN, write VERSION UNKNOWN and do not pick 5.4 by default in comments. 3. Header and cpp sketch: one actor. UCLASS. Cache Paths in BeginPlay only. No Find in Tick. 4. Input: bind only Actions via Enhanced Input. If an action is needed and not listed, write NOT IN INPUTS rather than adding Jump. 5. Refuse: Unity Input.GetAxis, GameObject.Find, GetComponent in Update, Godot get_node in _process. 6. Comments: Lang. Each cached pointer quoted from Paths. 7. Never: invent a GameInstance singleton name, an extra plugin, or a 5.5 API if Version is 5.4 or 5.3. 8. Compliance pass: cut Banned and Never. Print that Version is quoted or UNKNOWN. Format as Format. Constraints: - Unreal C++ actor from Brief. Not a Unity MonoBehaviour and not a full project. - No Find, GetActorOfClass, or TActorIterator in Tick. - Only Actions and Paths named in Inputs. - Honor the 5.4 vs 5.3 fork. - No emojis.