19,721
edits
Paradox-01 (talk | contribs) mNo edit summary |
m (fixed section header) |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
==Some suggestions== | ==General information== | ||
===Some suggestions=== | |||
Every day you work on your project, backup your project before you start working on it. | Every day you work on your project, backup your project before you start working on it. | ||
| Line 10: | Line 11: | ||
Move a comment around to move its content. | Move a comment around to move its content. | ||
The Branch node is also accessible by typing | The Branch node is also accessible by typing '''''if'''''. | ||
Disable "Context Sensitive" if your really need to see all possible nodes. | Disable "Context Sensitive" if your really need to see all possible nodes. | ||
| Line 16: | Line 17: | ||
Try to break down your code into reusable functions and macros. | Try to break down your code into reusable functions and macros. | ||
Make yourself familiar '''"interfaces"''', making '''"references"''', '''"casting"''' and try to think of your '''own component''' and making '''master blueprints'''. | Make yourself familiar with '''"interfaces"''', making '''"references"''', '''"casting"''' and try to think of your '''own component''' and making '''master blueprints'''. | ||
Learn what the different object classes (blueprints) do. Keep exploring, do experiments to know what is possible. It will make you more flexible. | Learn what the different object classes (blueprints) do. Keep exploring, do experiments to know what is possible. It will make you more flexible. | ||
| Line 23: | Line 24: | ||
==Casting== | ===Casting=== | ||
With "cast to ..." nodes you access other blueprints, therefore their variables. | With "cast to ..." nodes you access other blueprints, therefore their variables. | ||
==References== | ===References=== | ||
After a casting it is often useful to make a reference so you don't need to make another casting at a later time. | After a casting it is often useful to make a reference so you don't need to make another casting at a later time. | ||
| Line 33: | Line 34: | ||
'''Get a reference of any embedded component by dragging it into the event graph.''' | '''Get a reference of any embedded component by dragging it into the event graph.''' | ||
===Components=== | ====Components==== | ||
To access components you must have the parent object. That's easy if you are already in the right BP. If not you must first access the other blueprint with a cast or an already made reference. | To access components you must have the parent object. That's easy if you are already in the right BP. If not you must first access the other blueprint with a cast or an already made reference. | ||
| Line 64: | Line 65: | ||
Any component listed under the "''Character''(self)" can be referenced without making a detour. Just drag it into the event graph. | Any component listed under the "''Character''(self)" can be referenced without making a detour. Just drag it into the event graph. | ||
==Interfaces== | ===Interfaces=== | ||
==Good to know== | |||
===Repair nodes after moved content=== | |||
[[Image:UE4_repair_interface_message.png|thumb]] | |||
Renaming folder and moving blueprints around can destroy events. You can repair interface events by doing this: | |||
# Add the interfaces back to the blueprint. | |||
# Hit compile one time. | |||
# If available go on by pulling out the pin from a reference. | |||
# Add back events and messages. | |||
==Nodes== | |||
[[Category:Modding tutorials]] | |||