createcrewman

Started by @Kreator, May 14, 2015, 09:41:31 PM

Previous topic - Next topic

@Kreator

I've messed around with this internal script a lot and I just can't get it to work. Anyone have any tips?
(oh and also this thread will just become me asking a bunch of stupid questions about other scripts that I can't figure out... i really suck at internal scripting :-[)

That Souleye Crewmate

Yep, i'm not the best either. When i do something more internal, it either doesn't work/Is harder than i thought/ messes the script up. That's why i only use simple commands in my levels, like flash, destroy() say() reply() etc.

@Kreator

I finally got it to work, and here's what I had to do:

1. Created a script box spanning the whole room, and a terminal which I deleted
2. Put createcrewman(x,y,color,mood,ai) in the internal deleted terminal script (x,y are coordinates for where the crewmate is, in terms of pixels in the room, color is the crewmate color, mood is 0 for happy and 1 for sad, and ai is something like faceleft, faceright, faceplayer...)
3. Put iftrinkets(0,[TERMINAL SCRIPT NAME]) in the script box script
4. Opened the level file in TextEdit, scrolled all the way down to the bottom of the document to the level metadata, and wherever there were two lines in the script, like this: "||" I changed it to one line.

So hopefully this will help people like me who don't know how to internally script

SJMistery

i will try to use it, i hate internal scripting because it tends to mess everything and i have no way to fix it because i understand nothing of it  :victoria:

That Souleye Crewmate

Quote from: SJMistery on May 16, 2015, 04:31:30 PMi hate internal scripting because it tends to mess everything and i have no way to fix it because i understand nothing of it  :victoria:
Same. That's why you won't be seeing cutscenes and teleports in my level

@Kreator

I magically got a bunch of it to work, so I could explain it to you

moth ✨


That Souleye Crewmate

Wow, this thread is preeeetty old... I don't need advice anymore, since i got character choosing in my level...

@Kreator

It's not that old, we're all learning, and character choosing is awesome.

That Souleye Crewmate

But if i were to make a char choosing level, i'd have to make multiple roads with checkpoints.

@Kreator

Is that what you did?

That Souleye Crewmate

No. I just made "The Villi Challenge"

lamourieparkinson

Quote from: That Souleye Crewmate on May 15, 2015, 10:04:05 AM
Yep, i'm not the best either. When i do something more internal, it either doesn't work/Is harder than i thought/ messes the script up. That's why i only use simple commands in my levels, like flash, destroy() say() reply() etc.

Bumping thread!
I only use simple commands as well. I don't do internal stuff, which is why I don't use flags and have repeating scripts.

The only internal script I think I've ever used is the steps to making a Gravitron.

@Kreator

Quote from: lamourieparkinson on June 29, 2016, 07:08:33 PM
Bumping thread!
I only use simple commands as well. I don't do internal stuff, which is why I don't use flags and have repeating scripts.

The only internal script I think I've ever used is the steps to making a Gravitron.
that's good to know but why did you bump a >1 year old thread

Dav999

Quote from: lamourieparkinson on June 29, 2016, 07:08:33 PM
I only use simple commands as well. I don't do internal stuff, which is why I don't use flags and have repeating scripts.
Flags are available in simplified scripting.