# Wiki Code Tutorials

**URL:** <https://forums.unrealengine.com/t/wiki-code-tutorials/256>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [March 20, 2014, 9:39pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256 "2014-03-20T21:39:34Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 24, 2014, 5:51am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/41 "2014-03-24T05:51:06Z")

</div>

[=SwitchNZ;4303]  
Thanks for these !

As a heads up I have been tidying up the formatting (not changing any text but removing excess section headers that had no content etc - blame my need for consistency :P). If for some reason you have left these with blank headings to come back later please let me know and I will stop doing it 🙂

Thanks,

SwitchNZ  
[/]

Yes please stop doing that

I put those spaces in there so that the Table of Contents has additional separators where I wanted to emphasis something in the Table of Contents itself.

Please undo your changes 🙂 (its fast to undo in the history tab)

PS: but I do look forward to any actual code or syntax or grammar corrections you feel need to be done

[=Meltdown;4256]  
Thank you, is much appreciated!  
[/]

Hee hee!

🙂

---

<div class="post-metadata">

**Author:** ![SwitchNZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SwitchNZ](https://forums.unrealengine.com/u/SwitchNZ)\
**Post date:** [March 24, 2014, 7:46am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/42 "2014-03-24T07:46:22Z")

</div>

[=;4316]  
Yes please stop doing that

I put those spaces in there so that the Table of Contents has additional separators where I wanted to emphasis something in the Table of Contents itself.

Please undo your changes 🙂 (its fast to undo in the history tab)

PS: but I do look forward to any actual code or syntax or grammar corrections you feel need to be done

[/]

Ok have reverted all changes I have made 🙂

---

<div class="post-metadata">

**Author:** ![iscaru1988](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iscaru1988](https://forums.unrealengine.com/u/iscaru1988)\
**Post date:** [March 24, 2014, 10:46am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/43 "2014-03-24T10:46:02Z")

</div>

Oh thanks, I was looking something like !!!

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 24, 2014, 5:39pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/44 "2014-03-24T17:39:11Z")

</div>

[=iscaru1988;4430]  
Oh thanks, I was looking something like !!!  
[/]

You’re welcome!

🙂

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 24, 2014, 10:49pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/45 "2014-03-24T22:49:45Z")

</div>

**[FONT=Comic Sans MS]New Tutorial!**

**[File Management, Create Folders, Delete Files, and More!](https://wiki.unrealengine./File_Management,_Create_Folders,_Delete_Files,_and_More!)**

[https://wiki.unrealengine](https://wiki.unrealengine)./File\_Management,\_Create\_Folders,\_Delete\_Files,\_and\_More!

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 25, 2014, 4:47am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/46 "2014-03-25T04:47:03Z")

</div>

Bump for all the new comers,

Welcome!!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_80f0f270](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_80f0f270](https://forums.unrealengine.com/u/anonymous_user_80f0f270)\
**Post date:** [March 25, 2014, 10:51am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/47 "2014-03-25T10:51:52Z")

</div>

Hey

I have a question about your tutorial “Blueprints, Empower Your Entire Team With BlueprintImplementableEvent”.

Can you still write the cpp implementation of the event function and if you do will it still run both the code implementation and the blueprint override, or would it just run the blueprint override and fall back to the code if there was no override in the blueprint?

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 25, 2014, 7:18pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/48 "2014-03-25T19:18:23Z")

</div>

[=Straits;5400]  
Hey

I have a question about your tutorial “Blueprints, Empower Your Entire Team With BlueprintImplementableEvent”.

Can you still write the cpp implementation of the event function and if you do will it still run both the code implementation and the blueprint override, or would it just run the blueprint override and fall back to the code if there was no override in the blueprint?  
[/]

You can’t do it both ways 🙂

What you can do is what you see even in the Actor.h

You can write a CPP version, that then calls the BlueprintImplementable version 🙂  
.h

```auto

virtual void MyImportantFunction;

UFUNCTION(BlueprintImplementableEvent, meta=(FriendlyName = "Very Important Event"))
virtual void MyImportantFunctionBP();

```

.cpp

```auto

void AMyClass::MyImportantFunction()
{
   //does some important things
   
   //now call the BP version to be implemented there
   MyImportantFunctionBP();
}

```

---

<div class="post-metadata">

**Author:** ![kassane](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kassane/32/469014_2.png) [@kassane](https://forums.unrealengine.com/u/kassane)\
**Post date:** [March 25, 2014, 7:34pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/49 "2014-03-25T19:34:47Z")

</div>

would add the AI content in UE4 C++? A prototype of character interaction in terms of immersiveness? And adding elemental powers in the hands?

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 25, 2014, 9:12pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/50 "2014-03-25T21:12:25Z")

</div>

[=kassane;5747]  
would add the AI content in UE4 C++? A prototype of character interaction in terms of immersiveness? And adding elemental powers in the hands?  
[/]

I will keep in mind 🙂

Might be awhile though 🙂

---

<div class="post-metadata">

**Author:** ![BlackFangTech](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlackFangTech](https://forums.unrealengine.com/u/BlackFangTech)\
**Post date:** [March 25, 2014, 11:33pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/52 "2014-03-25T23:33:18Z")

</div>

Great tutorials, !!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_80f0f270](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_80f0f270](https://forums.unrealengine.com/u/anonymous_user_80f0f270)\
**Post date:** [March 26, 2014, 12:11am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/53 "2014-03-26T00:11:55Z")

</div>

Does anyone know of any tutorials or documentation about networking? I would really appreciate anyone who could explain how to host a session, have another player join that session, and have the players movement sync’d between both players.

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 26, 2014, 1:07am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/54 "2014-03-26T01:07:28Z")

</div>

[FONT=Comic Sans MS] **New Tutorial!**

**[Draw 3D Debug Points, Lines, and Spheres!](https://wiki.unrealengine./Draw_3D_Debug_Points,_Lines,_and_Spheres:_Visualize_Your_Algorithm_in_Action!)**

[https://wiki.unrealengine](https://wiki.unrealengine)./Draw\_3D\_Debug\_Points,\_Lines,\_and\_Spheres:\_Visualize\_Your\_Algorithm\_in\_Action!

Enjoy new tutorial!

```auto

[=BlackRang666;5923]
Hey if you read and have the time, could you take a look at my thread here -&gt; https://forums.unrealengine./showthread.php?973-Trying-to-follow-Linking-Static-Libraries-tutorial ? I'm trying to follow the static linking tutorial, but I have ran into an error I don't quite understand in the context.
[/]

Ask Gneu, he wrote the tutorial!

[=Straits;5943]
Does anyone know of any tutorials or documentation about networking? I would really appreciate anyone who could explain how to host a session, have another player join that session, and have the players movement sync'd between both players.
[/]

Coming soon, 

but **player movement is synced for you by the way** , its an AWESOME thing about UE4 network code.
```

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 26, 2014, 1:29am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/55 "2014-03-26T01:29:48Z")

</div>

[=jonwd7;5913]  
I’m not going to make a ton of changes without discussing it with you.  
[/]

I have made your two factual corrections regarding Enums and USTRUCTS()

**Thanks for the corrections!**

I quoted your ENUM correction, thanks for taking the time 🙂

```auto

I have always debated with people about the Wiki being content not authored by people.

The fact is that I am putting forth hours of my day to author content, so I want recognition for it.

Currently the "Contributions" page does not work, so it is impossible for people to know from a glance that I have authored the vast majority of the code tutorials on the wiki, which represents the past week of my life.

Until there is a sufficient means to honor my efforts I retain my style and manner of expression.

*When the content on a particular page no longer is mostly mine, then at that point I do not mind what is edited out.*

```

**Dear Community**

is a friendly way to great new comers to the Wiki

Newcomers are set at ease by such phrasing.

We are people after all, and human kindness is lacking in world.

_While depersonalization of Wiki content is a “thing” it is something I very much disagree with._

People are behind every wiki page, people are reading the wiki pages,

we are people, no need to depersonalize everything.

If you disagree with me, spend hours writing your own wiki pages and do them your way 🙂

You are speaking of the Wiki as a sort of free for all zone where editing can occur any time,

well fine, then let me do it my way until such a time as the content on the page does not comprise mostly my own precious time.

```auto

**There is No Pressure On You**

By clearly marking my pages with my own vernacular,

*I am also making it clear that it is NOT Epic's content*, 

lifting any sort of pressure off of you to ensure accuracy of the content.

I am to blame if my content is not accurate, 

and the reader knows to take what I write not as truth, but as my opinion and perspective.

```

**Conclusion** (better than summary perhaps)

I write firmly but I am not closed off to further discussion, but please deeply consider my points and my perspective before replying.

And realize I am not trying to argue, I am trying to express very clear points, that I hope came across in post.

PS: I am excited about shift regarding including “C++”, once the shift is live let me know!

I am not yet sure I understand exactly what the change is tho 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_759e5c3a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_759e5c3a](https://forums.unrealengine.com/u/anonymous_user_759e5c3a)\
**Post date:** [March 26, 2014, 3:41am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/56 "2014-03-26T03:41:38Z")

</div>

Hey ,

I wanted to take a sec to address some of the points and Jonwd7 have brought up.

First, let me address ownership. All pages of the Wiki, except the Page, are up for the community to edit freely. means that any content that User A creates, is free to be edited by User B and vice versa. It is very important that the Wiki be moderated by the community so that it can be kept up-to-date, typo free and consistent. Any content submitted to the Wiki is taken out of the original creators hands. That being said, we do intend to recognize the original creator on the page itself. should be done by keeping a signature at the bottom of the page for now. Additionally, the contributions pages will be opened up soon, they were closed pre-launch and accidentally left in that state.

Pages should follow the basic conventions put forward in the [Get Involved](https://wiki.unrealengine./Get_Involved#Page) page. Personalization is not discouraged, we only want to make sure that other users will not be confused by overly-flourished instructions. would mean having confusing grammar is a problem (ex. breaking up a sentence on multiple lines), but using the first person is fine. If a user has to ask for an explanation of a step, that is a problem. If there is an encouraging comment somewhere, as long as it does not throw off the reader, then it is fine.

I can see that you both care greatly for your community, but I have to ask that you both make some changes to your approach with the Wiki. your tutorials are fantastic and a real help for people new to C++, however they would benefit from being more traditionally structured when it comes to grammar and punctuation. Jonwd7, you have brought up a lot of good points about legibility and consistency, has shown me that I will need to add a few more guidelines so that no one is confused, but I also want you to understand that there is no reason a page has to be neutrally presented.

I hope helps to clarify things, but if you have any more questions, please just ask or PM me. I am always here for the community!

P.S. Extensions are coming! I have had plans for YouTube embedding, Star Ratings, InfoBoxes and much more for a while; Well before I was getting requests for them left-and-right. We are still primarily focusing our efforts on the AnswerHub and Forums to make sure everything is going smooth, so testing and implementing extensions are still going to be on the backburner for just a little bit longer.

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 26, 2014, 4:34am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/57 "2014-03-26T04:34:23Z")

</div>

[= ;6062]  
That being said, we do intend to recognize the original creator on the page itself. should be done by keeping a signature at the bottom of the page for now.  
[/]

Yay!

[= ;6062]  
Using the first person is fine. If a user has to ask for an explanation of a step, that is a problem. If there is an encouraging comment somewhere, as long as it does not throw off the reader, then it is fine.  
[/]

Woohoo!

[= ;6062]  
your tutorials are fantastic and a real help for people new to C++, however they would benefit from being more traditionally structured when it comes to grammar and punctuation.  
[/]

Sounds good to me, though I may not know what "traditional grammar and punctuation is at times, so if you see persistent patterns let me know 🙂

[= ;6062]  
I also want you to understand that there is no reason a page has to be neutrally presented.

[/]

Yaaaaayyyyyyy!!!

Thanks for the clarifications !

Mr. Jonwd7 I hope you see that I respect your opinion that I you on the ENUM page and that I changed my USTRUCT() explanation.

Such factual corrections are always welcome (or could simply be corrected directly)

[https://www.mediafire](https://www.mediafire)./convkey/a416/xh2a0w6qocsc9xb6g.jpg

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 26, 2014, 5:19am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/59 "2014-03-26T05:19:14Z")

</div>

New Tutorial: Logs

New Tutorial!

**[Logs, Print Messages to Yourself During Runtime!](https://wiki.unrealengine./Logs,_Printing_Messages_To_Yourself_During_Runtime)**

[https://wiki.unrealengine](https://wiki.unrealengine)./Logs,\_Printing\_Messages\_To\_Yourself\_During\_Runtime

Enjoy!

PS: one is really important to help you work through your C++ logic step by step as you are building your algorithms 🙂

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 26, 2014, 8:30pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/60 "2014-03-26T20:30:46Z")

</div>

**[FONT=Comic Sans MS]Entry Level Guide to UE4 C++**

[https://wiki.unrealengine](https://wiki.unrealengine)./Entry\_Level\_Guide\_to\_UE4\_C%2B%2B

Enjoy!

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 27, 2014, 10:36am UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/61 "2014-03-27T10:36:36Z")

</div>

Featured Tutorial:

**[Dynamic Arrays](https://wiki.unrealengine./Dynamic_Arrays)**

[https://wiki.unrealengine](https://wiki.unrealengine)./Dynamic\_Arrays

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 27, 2014, 10:12pm UTC](https://forums.unrealengine.com/t/wiki-code-tutorials/256/62 "2014-03-27T22:12:31Z")

</div>

Featured Tutorial:

**[Operator Overloads, Make Your Own UE4 C++ Operators!](https://wiki.unrealengine./Operator_Overloads)**

[https://wiki.unrealengine](https://wiki.unrealengine)./Operator\_Overloads

[Previous page](https://forums.unrealengine.com/t/wiki-code-tutorials/256.md?page=2)

[Next page](https://forums.unrealengine.com/t/wiki-code-tutorials/256.md?page=4)
