Problem mit Skript für Drag&Drop

  • #1, by tesildeen-Sunday, 11. August 2019, 20:39 5 years ago
    Hallo,

    ich hätte gern, dass mein Cursor sich verändert, wenn ich mit einem gewähltem Item auf ein Ibjekt zeige. Ich hatte mir dazu Sebastians tolles Tutorial angesehen und alle Schritte befolgt. 
    Bekomme aber leider immer eine Fehlermeldung: 
    Attempt to call isempty

    Irgendjemand eine Idee, was ich falsch gemacht haben könnte?

    Newbie

    31 Posts


  • #2, by afrlmeSunday, 11. August 2019, 20:58 5 years ago
    isEmpty starts with lowercase i not uppercase. Lua script & the functions, variable names, etc are all case sensitive. wink

    Quick note: it's also now possible to set cursors directly with Lua script - since 5.x more or less.

    system.cursor = Cursors["example"]

    Imperator

    7278 Posts

  • #3, by tesildeen-Sunday, 11. August 2019, 22:01 5 years ago
    . The  lowercase i it was.  I could have noticed that myself.  Thank you very much 

    Newbie

    31 Posts