A dumb question regarding variables

Discussions about Coding and Scripting
Post Reply
MrLoathsome
Inhuman
Posts: 958
Joined: Wed Mar 31, 2010 9:02 pm
Personal rank: I am quite rank.
Location: MrLoathsome fell out of the world!

A dumb question regarding variables

Post by MrLoathsome »

Given the 2 following variable declarations, what do the () characters do for you in the 2nd one?
There is an entry in defaults for each. (I think I used to know the answer, or I wouldn't have done it both ways in the past.... :what: )

Code: Select all

var config bool bAbsentMinded1;
var() config bool bAbsentMinded2;
blarg
User avatar
Sp0ngeb0b
Adept
Posts: 376
Joined: Wed Feb 13, 2008 9:16 pm
Location: Cologne
Contact:

Re: A dumb question regarding variables

Post by Sp0ngeb0b »

If I remember right the () statement only induces the variable to be modifiable in the UnrealEd -> Actor Properties window. You can also specify under what group the variable should be listed, like

Code: Select all

var(Advanced) bool bHidden;
Website, Forum & UTStats

Image
******************************************************************************
Nexgen Server Controller || My plugins & mods on GitHub
******************************************************************************
MrLoathsome
Inhuman
Posts: 958
Joined: Wed Mar 31, 2010 9:02 pm
Personal rank: I am quite rank.
Location: MrLoathsome fell out of the world!

Re: A dumb question regarding variables

Post by MrLoathsome »

Ah yeah...That explains why I forgot what it does. I hate UnrealEd. LOL
Thanks for the quick answer.
blarg
Post Reply