Sorry but that doesn't work. This is what weidu has to say about it:You don't put quotes around an entire array entry. You do put quotes around the indices: "%index%" versus %index% or index.Does anyone know how to get the correct text value to be written while using the array structure?
Instead of:WRITE_ASCII (%new_loc% + 0) ~$RT_NAME("%index%")~ (32)Use:WRITE_ASCII (%new_loc% + 0) $RT_NAME("%index%") (32)
[bg_fixpack\tph\ab_FlorTrig.tph] PARSE ERROR at line 33 column 1-31 Near Text: $ GLR parse error [bg_fixpack\tph\ab_FlorTrig.tph] ERROR at line 33 column 1-31 Near Text: $ Parsing.Parse_error ERROR: parsing [bg_fixpack\tph\ab_FlorTrig.tph]: Parsing.Parse_error Stopping installation because of error.The portion of code that this is referring to:
//string writes WRITE_ASCII (%new_loc% + 0) $RT_NAME("%index%") (32) //name WRITE_ASCII (%new_loc% + 0x74) $RT_KEY_ITEM("%index%") //item to use as key WRITE_ASCII (%new_loc% + 0x7c) $RT_REGION_SCRIPT("%index%") (8) //script for trigger PATCH_IF (GAME_IS ~pst~) BEGIN WRITE_ASCII (%new_loc% + 0xbc) $RT_DIALOG_FILE("%index%") (8) //dialog file used only in pst END
Just so ya know the tph file is an action function that calls up Qwinn's macros and still allows the user to add multiple floor triggers...