View Issue Details

IDProjectCategoryView StatusLast Update
0002947Multi Theft Auto : San AndreasScriptingpublic2008-12-28 19:36
ReporterTalidanAssigned ToArc 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.0Fixed in Version1.0 
Summary0002947: getElementData should be able to retrieve JSON strings set in .map
Description

If a .map file contains JSON strings as element data, getElementData should retrieve this automatically.

TagsNo tags attached.

Relationships

child of 0002949 closed Map editor issues 

Activities

ChrML

2008-01-04 23:59

administrator   ~~0007022

Not sure if that's a good idea though, you could get problems if the syntax from a string accidentially became json data.

Talidan

2008-01-06 15:20

administrator   ~~0007038

Same goes for settings. There's no reason why you would use the [ ] syntax, and if its going to be added then it has to be now so people dont have to change later on.

eAi

2008-04-26 14:47

administrator   ~~0007660

Last edited: 2008-04-26 14:55

I think the chance of someone using [] is small. We could escape the [] characters if deemed necessary in non-JSON data.

saveMapData should save JSON values too, but not element references (as they're invalidated on reload)...

Issue History

Date Modified Username Field Change