Author Topic: Calling an external nut  (Read 2354 times)

jclampy69

  • Full Member
  • ***
  • Posts: 86
    • View Profile
Calling an external nut
« on: October 16, 2020, 04:47:07 PM »
Hopefully this is a quick one to solve.. What am I missing?

local metabox = fe.add_surface(574, 100);
local metadata = metabox.do_nut("scripts/metadata.nut");
metabox.x= 1320
metabox.y= 365

My end goal is I was thinking of adding a delay or animation to all my metadata fields in one go.. But if that's not possible then I will just code it individually.
« Last Edit: October 16, 2020, 04:51:10 PM by jclampy69 »

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Calling an external nut
« Reply #1 on: October 17, 2020, 05:02:07 AM »
do_nut() is not a method. It's a function. Do not daisy chain it to an object.

jclampy69

  • Full Member
  • ***
  • Posts: 86
    • View Profile
Re: Calling an external nut
« Reply #2 on: October 17, 2020, 06:29:24 PM »
Is it possible to call text based 'magic tokens' as individual separate objects that are then grouped to a single surface. And then manipulate that surface with an animation?
« Last Edit: October 17, 2020, 06:33:20 PM by jclampy69 »