I want to basically create a list of preset values in a row/column format that I can referance. Id rather not have to do this by at the start of a map preloading something with a trigger or something. Anyone know of a way to do this without running triggers?
Because the data is all preset information I want to retrieve, but there will be quite a bit of it. Setting all this data via a trigger seems excessive to having it all preset and readable.
This isn't really a spreadsheet, but the most similar thing would be to make a trigger action or something using a parameter for each column. Then run the action each time for each row. You can then have other triggers retrieve data from this based off a parameter (for example, an ID parameter).
Reading the data is through triggers, but getting the data in I'd just as soon have a pre-made table full of all this data rather than having to generate it on start up. Another option would simply be adding readable fields to an item say adding 6 entries to an item type or something. Basically I am using my own stat point system, so far the only way Ive been able to get say 82 str on an item is to have it add behaviors.
For this I made behaviors that don't actually do anything but that I can read on the unit to set my custom stats (stackable ones like 50 str 30 str 2 str to get 82 for example). I don't like how the normal stats effect a unit so I've been making my own system and the only problems I'm having right now is getting custom amounts of stats on gear that I can read. Also knowing when a unit changes the items in their gear inventory has been annoying.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I want to basically create a list of preset values in a row/column format that I can referance. Id rather not have to do this by at the start of a map preloading something with a trigger or something. Anyone know of a way to do this without running triggers?
Why would you not want to do this with triggers, exactly? Any use of data in the format you're describing sounds like it'd need a trigger anyway.
Because the data is all preset information I want to retrieve, but there will be quite a bit of it. Setting all this data via a trigger seems excessive to having it all preset and readable.
This isn't really a spreadsheet, but the most similar thing would be to make a trigger action or something using a parameter for each column. Then run the action each time for each row. You can then have other triggers retrieve data from this based off a parameter (for example, an ID parameter).
This is what I am doing for NPCs in my map.
@Sneakervek: Go
How or where do you want to reference your data? Because I would think that triggers are the best way to do it.
Reading the data is through triggers, but getting the data in I'd just as soon have a pre-made table full of all this data rather than having to generate it on start up. Another option would simply be adding readable fields to an item say adding 6 entries to an item type or something. Basically I am using my own stat point system, so far the only way Ive been able to get say 82 str on an item is to have it add behaviors.
For this I made behaviors that don't actually do anything but that I can read on the unit to set my custom stats (stackable ones like 50 str 30 str 2 str to get 82 for example). I don't like how the normal stats effect a unit so I've been making my own system and the only problems I'm having right now is getting custom amounts of stats on gear that I can read. Also knowing when a unit changes the items in their gear inventory has been annoying.