Bug Issue: Trigger event (Text Attribute) in this behavior gives 'unknown identifier' error


Pages: 1

SirCrocketz

  • Subscriber - Stencyl Studio
  • *
May 08, 2017, 11:40:22 am
Exactly as the title says. If you use a text attribute in the 'for this behavior' block, it gives this error. I've run into it on multiple occasions. The Trigger Event (Text Attribute) in behavior (text) for this scene or for actor works fine.

Error:
SinglePlayerBehavior: Unknown identifier : _customEvent_whenThisHears_LevelText
   from scripts.Design_116_116
   line: 687
   columns: 6-42
« Last Edit: May 08, 2017, 11:40:48 am by SirCrocketz »


New attachment added by SirCrocketz - May 08, 2017, 11:40:57 am


New attachment added by SirCrocketz - May 08, 2017, 11:41:05 am


rob1221

  • Master Stencyler
  • *
May 08, 2017, 12:02:50 pm
That block isn't intended to work with text attributes because what you type in that block is code, not text.  In b9445 I've modified the block help text to clarify that.
  • Status changed from New to Closed


Pages: 1

Details

  • Reported
    May 08, 2017, 11:40:22 am
  • Updated
    May 08, 2017, 12:02:50 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Closed
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Design Mode Blocks

Tags


Attachments


* TriggerBroke.png (170.33 kB, 1920x1080 - viewed 141 times.)

* TriggerWork.png (172.98 kB, 1920x1080 - viewed 191 times.)