mouse mode 8 & 9 event link name hardcoded?

Started by arj0n, Wed 26/10/2022 19:29:24

Previous topic - Next topic

arj0n

I have a project that make use of the extra mouse cursor #8

  • I named it "Cast spell", but the ScriptID becomes "eModeCastspel"
    - is there a character max?
  • When I select a room object (e.g. oChest), the name shown in the Event pane is "Cast spel object".
    But when clicking the 3 dots to create a link, this link is named oChest_Mode8 in stead of oChest_Castspel
    - I know I can change this manually, but is there an easy way to let the to be created link MouseCursorName in stead of the Mode<number>?

eri0o

#1
The name looks like is limited to 9 characters, the script name has no limit but because of the other limit will be eMode123456789 as far as I can tell.

I think the reason it's limited is because no one never complained. (The Editor line of the code that limits is at least 12 years old)

SMF spam blocked by CleanTalk