# \#syntax

**URL:** https://forums.unrealengine.com/tag/syntax/4004.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [Please explain this C++ entry](https://forums.unrealengine.com/t/please-explain-this-c-entry/1686563)

<div class="topic-metadata">

**Author:** [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Replies:** 16\
**Last updated:** [February 13, 2024, 8:03pm UTC](https://forums.unrealengine.com/t/please-explain-this-c-entry/1686563 "2024-02-13T20:03:09Z")

</div>

Please explain this entry(what does it stand for) and why do you need a reference to InventoryItem in the loop ?

---

## [Do I need to prefix function names that return a boolean with b?](https://forums.unrealengine.com/t/do-i-need-to-prefix-function-names-that-return-a-boolean-with-b/464567)

<div class="topic-metadata">

**Author:** [@Samathan](https://forums.unrealengine.com/u/Samathan)\
**Replies:** 7\
**Last updated:** [December 13, 2022, 5:54pm UTC](https://forums.unrealengine.com/t/do-i-need-to-prefix-function-names-that-return-a-boolean-with-b/464567 "2022-12-13T17:54:11Z")

</div>

I know that you need to name a boolean variable like bVariableName, do you need to do this for functions too? Thanks in advance

---

## [Syntax error in RawMesh.h?](https://forums.unrealengine.com/t/syntax-error-in-rawmesh-h/438720)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0d31d05f](https://forums.unrealengine.com/u/anonymous_user_0d31d05f)\
**Replies:** 1\
**Last updated:** [July 5, 2019, 9:33am UTC](https://forums.unrealengine.com/t/syntax-error-in-rawmesh-h/438720 "2019-07-05T09:33:17Z")

</div>

C2144 syntax error: ‘void’ should be preceded by ‘;’ \\RawMesh\\Public\\RawMesh.h → Line 58 C4430 missing type specifier - int assumed. Note: C++ does not support default-int \\RawMesh\\Public\\RawMesh.h → Line58 Surprising…

---

## [\[4.22.2\] - Plugin Package Errors Not Present In Standalone](https://forums.unrealengine.com/t/4-22-2-plugin-package-errors-not-present-in-standalone/450572)

<div class="topic-metadata">

**Author:** [@MC\_Stryker](https://forums.unrealengine.com/u/MC_Stryker)\
**Replies:** 0\
**Last updated:** [June 12, 2019, 5:20pm UTC](https://forums.unrealengine.com/t/4-22-2-plugin-package-errors-not-present-in-standalone/450572 "2019-06-12T17:20:17Z")

</div>

Hey Guys, Been a while :slight\_smile: I’m working on a client project and I’ve developed a plugin w/ 3 modules. The project compiles fine for the editor and also in standalone with the plugin working fine in both instan…

---

## [VaRest Plugin Help Parsing JSON Array](https://forums.unrealengine.com/t/varest-plugin-help-parsing-json-array/424481)

<div class="topic-metadata">

**Author:** [@tyconner](https://forums.unrealengine.com/u/tyconner)\
**Replies:** 2\
**Last updated:** [June 16, 2018, 10:52am UTC](https://forums.unrealengine.com/t/varest-plugin-help-parsing-json-array/424481 "2018-06-16T10:52:23Z")

</div>

Hello, I am trying to parse through the echo json\_encode I get from my url When the JSON is shown it is in the syntax: \[{“ID”:“1”},{“ID”:“3”}\] How would I parse through this to get an array of the numbers? I’ve tried…

---

## [Syntax for line trace hitting and applying damage to characters](https://forums.unrealengine.com/t/syntax-for-line-trace-hitting-and-applying-damage-to-characters/406305)

<div class="topic-metadata">

**Author:** [@dougemmedhen](https://forums.unrealengine.com/u/dougemmedhen)\
**Replies:** 5\
**Last updated:** [October 13, 2017, 5:21am UTC](https://forums.unrealengine.com/t/syntax-for-line-trace-hitting-and-applying-damage-to-characters/406305 "2017-10-13T05:21:39Z")

</div>

I’m at my wit’s end, I have a weapon line trace that applies damage to destructible meshes, now I’m trying to figure out how to apply damage to characters. Here’s what I got: ACharacter \*person= Cast(hit.getactor()); …

---

## [HML5 compressed files- SyntaxError: illegal character](https://forums.unrealengine.com/t/hml5-compressed-files-syntaxerror-illegal-character/406423)

<div class="topic-metadata">

**Author:** [@Donalf](https://forums.unrealengine.com/u/Donalf)\
**Replies:** 6\
**Last updated:** [October 11, 2017, 5:17pm UTC](https://forums.unrealengine.com/t/hml5-compressed-files-syntaxerror-illegal-character/406423 "2017-10-11T17:17:44Z")

</div>

I’m getting this error when I try to run from my website - SyntaxError: illegal character SyntaxError: illegal character SyntaxError: illegal character My host is hostgator - the page works on 000webhost though. I t…

---

## [Missing type specifier and ";" before "\*"](https://forums.unrealengine.com/t/missing-type-specifier-and-before/403213)

<div class="topic-metadata">

**Author:** [@martinonpc](https://forums.unrealengine.com/u/martinonpc)\
**Replies:** 2\
**Last updated:** [August 30, 2017, 4:46pm UTC](https://forums.unrealengine.com/t/missing-type-specifier-and-before/403213 "2017-08-30T16:46:11Z")

</div>

I am currently working on making an interface for player to make actions (for turn-based rpg… fallout etc.). Currently I made so that player could store actions and accordingly execute them in a triggered combat mode, as…

---

## [Delegate Syntax C++](https://forums.unrealengine.com/t/delegate-syntax-c/384605)

<div class="topic-metadata">

**Author:** [@Floating\_Orb](https://forums.unrealengine.com/u/Floating_Orb)\
**Replies:** 3\
**Last updated:** [February 12, 2017, 4:07am UTC](https://forums.unrealengine.com/t/delegate-syntax-c/384605 "2017-02-12T04:07:25Z")

</div>

I am trying my hand at delegates in Unreal for the first time and I just cannot seem to get the syntax right. Any help would be greatly appreciated, thank you. Class1.h DECLARE\_MULTICAST\_DELEGATE(ON\_LANGUAGE\_CHANGE); C…

---

## [What does this syntax do in C++?](https://forums.unrealengine.com/t/what-does-this-syntax-do-in-c/360496)

<div class="topic-metadata">

**Author:** [@Sheeplie](https://forums.unrealengine.com/u/Sheeplie)\
**Replies:** 2\
**Last updated:** [June 12, 2016, 8:30am UTC](https://forums.unrealengine.com/t/what-does-this-syntax-do-in-c/360496 "2016-06-12T08:30:13Z")

</div>

Taken from: Data Driven Gameplay Elements | Unreal Engine Documentation FLevelUpData() : XPtoLvl(0) , AdditionalHP(0) {} This is in the public area of a struct. I don’t seem to remember this type of synt…

---

## [AutomationTest.h blocking compilation](https://forums.unrealengine.com/t/automationtest-h-blocking-compilation/321889)

<div class="topic-metadata">

**Author:** [@Samaed](https://forums.unrealengine.com/u/Samaed)\
**Replies:** 2\
**Last updated:** [March 28, 2016, 9:52am UTC](https://forums.unrealengine.com/t/automationtest-h-blocking-compilation/321889 "2016-03-28T09:52:25Z")

</div>

Hello there, I’m currently developing a Plugin to enable support of TrackIR in my application therefore I included their SDK to a separate project dedicated to the plugin part. As of now, I’ve been encountering a almos…

---

## [HTML5 different errors when lunched](https://forums.unrealengine.com/t/html5-different-errors-when-lunched/332141)

<div class="topic-metadata">

**Author:** [@KaupoK](https://forums.unrealengine.com/u/KaupoK)\
**Replies:** 6\
**Last updated:** [September 23, 2015, 6:28pm UTC](https://forums.unrealengine.com/t/html5-different-errors-when-lunched/332141 "2015-09-23T18:28:33Z")

</div>

Hello mighty UE4 HUB, I thought I’d find the answer within topics that are similar to mine, but instead I made it worse and now I’m here with my question. First I want to point out that I’m total beginner in coding and…

---

## [Use Syntax to drive Boolean in Level BluePrint](https://forums.unrealengine.com/t/use-syntax-to-drive-boolean-in-level-blueprint/312630)

<div class="topic-metadata">

**Author:** [@RatherBkBoardin\_1](https://forums.unrealengine.com/u/RatherBkBoardin_1)\
**Replies:** 5\
**Last updated:** [March 30, 2015, 5:00am UTC](https://forums.unrealengine.com/t/use-syntax-to-drive-boolean-in-level-blueprint/312630 "2015-03-30T05:00:30Z")

</div>

I am following up from a previous post that did not get a response. Internal Utility Function To Report Back Boolean in Blueprints - Blueprint - Epic Developer Community Forums I figured I would explain it differently u…

---

## [How to fix a Syntax Error on variable declaration of custom class?](https://forums.unrealengine.com/t/how-to-fix-a-syntax-error-on-variable-declaration-of-custom-class/311464)

<div class="topic-metadata">

**Author:** [@Erdrik](https://forums.unrealengine.com/u/Erdrik)\
**Replies:** 5\
**Last updated:** [March 18, 2015, 3:27pm UTC](https://forums.unrealengine.com/t/how-to-fix-a-syntax-error-on-variable-declaration-of-custom-class/311464 "2015-03-18T15:27:32Z")

</div>

Im trying to declare a ADMagicCharacter variable in Spell.h, as seen below. IntelliSense shows everything is fine, but during compile it throws a syntax error at ADMagicCharacter Caster;\* " error C2143: syntax error :…
