Warning: Declaration of action_plugin_linebreak::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/stepism/www/ue4/wiki/lib/plugins/linebreak/action.php on line 41

Warning: Declaration of action_plugin_markdownextra::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/stepism/www/ue4/wiki/lib/plugins/markdownextra/action.php on line 16

Warning: Declaration of action_plugin_syntaxhighlighter3_action::register(Doku_Event_Handler &$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/stepism/www/ue4/wiki/lib/plugins/syntaxhighlighter3/action/action.php on line 28

Warning: Declaration of syntax_plugin_linebreak::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/stepism/www/ue4/wiki/lib/plugins/linebreak/syntax.php on line 52

Warning: Declaration of syntax_plugin_linebreak::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/stepism/www/ue4/wiki/lib/plugins/linebreak/syntax.php on line 74
wiki:ue4:tips:101

目次

001 Blueprint HelloWorld文字列を表示する

概要

「レベルブループリント」を使ってHelloWorldを表示してみます。

HelloWorldを表示する

UE4 を起動して、新規プロジェクトを作成します。 ViewPort上のツールバーからBluePrints → Open Level BluePrint を選択します。

新しくウインドウが開いたら、「LEVEL BLUEPRINT」 と書かれているEventGraph ビューの中で右クリックします。メニューが出てくるので「Event Begin Play」を選択してEnterキー又はクリックでEventGraphに追加します。

BluePrint の開始ノードとなる「Event Begin Play」ノードが追加されました。Event Begin Playノードはイベントの開始地点です。更にEventGraph ビューの中で右クリックでメニューを開き今度は「Print String」ノードを追加します。「Print String」ノードの「In Strings」に好きな文字列を設定します。

二つのノードを繋ぎます。

この状態で再生ボタン又はSimulateボタンを押すと文字列が表示されます。