Compile error

weird, why is it doing that, and yes it is giving the error when the editor is not open also…I have a screen shot.

I am trying to create an AI controller class for c++, but it is not compiling right.

Found anything yet? I tried changing the name to AI character, but that did not work either.

Emm do you even have VS installed?

yes I have VS installed…is there a way to create custom code without VS and just copy and paste the code I create into the blueprints portion and generate blueprints using the code?

Ok, but class code is generated right? Forget about class generator, try to build it in VS and if you get error look up in Output tab for error text, it should exaclu say whats wrong

Let me check

no, it does not generate the code…just the library include of the header files and other files.

so I made another controller, and this is what it generates for example:

// Fill out your copyright notice in the Description page of Project Settings.

#include "CplusplusAI.h"
#include "AI.h"

so any verdict?

would it be better to just create everything from a fresh file and than copy paste all of the code into the blueprint editor, if that can be done?

Then what is AAICharacter you pasted above? Ok just try to compile in VS

yeah, I get errors, a lot of them…:

Ok then paste them, but please copy them from output tab dont copy anything wron “Errors” Tab. Also use code format as oyu did with code so it will be more readable

alright, I will just send the whole file itself…due to there are too many errors for the character count.link text

as you will see, the software created the main cpp, and header .h files in the folder, but was not generating the component in the Unreal 4 environment.

that zip is empty…

?? should not be…one sec

ah, had the wrong file zipped…this should do it…link text

I wanted errors… not source.