Announcements

Join the ongoing conversation on Discord: https://discord.gg/city-of-titans-official-633757967899951105

Q4 and New Year's Developer Update is now live. Check it out and see what's going on.

Purchase your copy of the City of Titans Launcher, visit our store at https://store.missingworldsmedia.com/ A purchase of $50 or more will give you a link to download the Launcher for Windows or Mac based machines.

UE3 on TDWTF

1 post / 0 new
Lin Chiao Feng
Lin Chiao Feng's picture
Offline
Last seen: 1 year 3 weeks ago
Developerkickstarter11th Anniversary Badge
Joined: 11/02/2013 - 09:27
UE3 on TDWTF

I read an interesting [url=http://thedailywtf.com/articles/do-you-think-this-is-a-game]post about game engines on TDWTF[/url], figured y'all might enjoy it.

Quote:

Well, Rich D is trying his hand at making a few X-COM 2 mods, and thus is exploring the quirks of Unreal Script for Unreal Engine 3 (or, more precisely, the highly modified version of the Unreal Engine used by X-COM 2).

He’s found a few quirks of his own:

1) Basic data structures that we take for granted, like maps and sets, don’t exist.
2) If you’re in a static function, you can’t call another static function that takes a delegate as a parameter. Even if the delegate is also a static function.
3) If you’re looping over an array of structs, for and foreach have different behavior
4) If a variable is None (Unrealscript’s equivalent of null) and you try to access something in it, that only results in a warning and your function continues executing anyway. No need to declare “On Error Resume Next”; for convenience

[i]Has anyone seen my mind? It was right here...[/i]