Jump to content

UnrealScript Professionals Help Required. My Script Is Saying Invalid or Unknown Function


John50

Recommended Posts

Hi there I need help with this Code I was trying to Implement the code and Compile it and as I did that this Error came up which is weird because all the other codes that I have with this worked perfectly except this one which is this one. Here Is the code and to provide more Useful Information.

Heres were the coding came from

https://docs.unrealengine.com/udk/Three/KismetOnlineSubsystem.html

SeqAct_UnlockAchievement.uc

Error.PNG

Edited by John50
Link to comment
Share on other sites

Hi John,

So what you're looking at here is a preprocessor directive.
It's not compiling InternalOnReadAchievementsComplete because USE_GAMECENTER isn't defined at compile-time.

If your package doesn't have a Globals.uci file already then you may want to create one in your package's root folder.
So not in the Classes folder, but one folder above that.

In that file you can add: `define USE_GAMECENTER
And then it will compile.

Link to comment
Share on other sites

5 hours ago, Suspiria said:

Hi John,

So what you're looking at here is a preprocessor directive.
It's not compiling InternalOnReadAchievementsComplete because USE_GAMECENTER isn't defined at compile-time.

If your package doesn't have a Globals.uci file already then you may want to create one in your package's root folder.
So not in the Classes folder, but one folder above that.

In that file you can add: `define USE_GAMECENTER
And then it will compile.

It worked Thank you so much. You truly are a UnrealScript Professional. Thats one Kismet Node added to my list. Speaking of Kismet Does It Still get Updated by any chance.

  • Like 1
Link to comment
Share on other sites

Thanks for the compliment sir.

None of Kismet nor UDK is getting any updates.

Also, UDK documentation is getting drowned out by UE5 material.
Which is part of the reason of migrating Firestorm there.

But since that's still going to take a couple of years ...
I'd be happy to answer any question that you might have about programming the UDK.

There also used to be a public Discord channel for modding which was very useful for questions like this.
But I can't seem to find it right now.

Link to comment
Share on other sites

23 hours ago, Suspiria said:

Thanks for the compliment sir.

None of Kismet nor UDK is getting any updates.

Also, UDK documentation is getting drowned out by UE5 material.
Which is part of the reason of migrating Firestorm there.

But since that's still going to take a couple of years ...
I'd be happy to answer any question that you might have about programming the UDK.

There also used to be a public Discord channel for modding which was very useful for questions like this.
But I can't seem to find it right now.

Okay So do any of you guys have Custom Kismet scripts for something like Increasing damage or things such as Giving Players more or Less armor Or even things such as what time to end the Match.

Link to comment
Share on other sites

9 hours ago, John50 said:

Okay So do any of you guys have Custom Kismet scripts for something like Increasing damage or things such as Giving Players more or Less armor Or even things such as what time to end the Match.

Oof

I do not personally work with Kismet.
But I did find the modding channel for you where there's a nice crowd of developers.

If you have Discord you have to join https://discord.com/invite/totemarts
Then go to roles-and-bot-use and there you have to select the Modder role.

Now will appear an entire section of modding channels on the left for you to access.

Link to comment
Share on other sites

3 hours ago, Suspiria said:

Oof

I do not personally work with Kismet.
But I did find the modding channel for you where there's a nice crowd of developers.

If you have Discord you have to join https://discord.com/invite/totemarts
Then go to roles-and-bot-use and there you have to select the Modder role.

Now will appear an entire section of modding channels on the left for you to access.

Okay I will check It Out and see what I find But thank you so much For Your help Earlier I really appreciate It 😊 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...