[ORKEditorHelp("Faction", "Select a faction associated with this extension data.", "")]I get a drop down showing me all of the factions. This is a great feature :).
[ORKEditorInfo(ORKDataType.Faction)]
public int factionID = 0;
public class Disposition : BaseDataI would create a bunch of arrays to store disposition data(the above is not the complete class with all the data) then I would would need to create another similar class derived from the BaseData(I think) and I would like to do something like this:
{
[ORKEditorHelp("Disposition name", "This is the name of the disposition.", "")]
[ORKEditorInfo("Disposition name", "This is the name of the disposition.", "")]
public String name = "Disposition name";
[ORKEditorHelp("Dispostion ID", "Insert and ID value to be used in disposition game logic.", "")]
[ORKEditorLimit(0, false)]
public int dispositionID = 0;
[ORKEditorHelp("Disposition Weigth value", "Set a weigth value for the disposition game logic. This float field is limited from 0 to 10.", "")]
[ORKEditorLimit(0.0f, 10.0f)]
public float weightValue = 0;
public Disposition()
{
}
}
[ORKEditorHelp("Disposition", "Select a dispostion associated with this extension data.", "")]Of course the dispostion datatype does not exist, am I just trying to convey what I would like to achieve :).
[ORKEditorInfo(ORKDataType.Disposition)]
public int ID = 0;
It looks like you're new here. If you want to get involved, click one of these buttons!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!