Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: mweyna on September 05, 2014, 03:45:47 PM
-
When I'm trying to set a custom property on a script, in this case "View Radius in Tiles" the field doesn't seem to come up anywhere. Is there something on the script I need to add so that the "SetProperty" playmaker action will show that value?
(http://s21.postimg.org/6y1p0vxaf/Options.jpg)
-
Make sure its public.
Also, I struggled first, not realizing I had to define the variable as type Object and then go and define the actual type, in order for all the properties to show up.
-
So looking at the code, I see this -
public byte ViewRadiusInTiles = 5
Does that mean I wouldn't be able to use it as it is a byte and not object?