Internal commands

Started by Hilbert, July 28, 2012, 01:23:29 PM

Previous topic - Next topic

moth ✨


lol...ipops2

text(colour,x,y,lines)
Can someone show me how that works?
Especially the "lines" part.
I know it's the diolauge but how do you enter it in?

Dav999

The lines is just the amount of lines your text box has, so:
text(player,50,50,1)
This is some text!
speak_active

text(player,50,50,2)
This is some text, on
multiple lines!
speak_active


I made a guide earlier of everything related to text boxes in internal scripting, which can be found here

allison

Quote from: Dav999 on February 21, 2017, 05:58:59 PM
I made a guide earlier of everything related to text boxes in internal scripting, which can be found here
Maybe you could add some quotes to your original post? It'd be nice to have all this disparate reference material in one place.

lol...ipops2

is flash just flash in internal scripting? or is it something else?

QwertymanO07

In IS, flash() is literally just the screen flashing white, with the argument being the duration.  You need to pair it with playef() and shake(), but I don't remember the exact values.  It's in the second post, though.

Ally 🌠

playef is 9 for ss flash sf, 10 is teleport
shake should be 20
flash should be 5

lol...ipops2

is it position(centerxy) or position(centerxcoordinateycoordinate)
I mean that is it centerxy or i.e center13

AlexINF

Quote from: LOLLERPOOPS IS BACK AGAIN! on March 22, 2017, 01:31:05 PM
is it position(centerxy) or position(centerxcoordinateycoordinate)
I mean that is it centerxy or i.e center13
centerxy, centerx and centery are only for centering in the screen. they don't accept numbers.

Ally 🌠

position(center) centres the screen
centerx centers it on the x
centery centers it on the y
position(centerx, 8) would work

lol...ipops2

Quote from: -Kiwi Alexia ♡ on March 23, 2017, 01:44:08 AM
position(center) centres the screen
centerx centers it on the x
centery centers it on the y
position(centerx, 8) would work
Fixed

Snivypro

Could you give me an example of the "createcrewman" script?  :victoria:

weee50

createcrewman(112,80,blue,0,faceplayer)

112 and 80 are the x and y positions respectively, if you're having trouble with them, use Ved, and the coordinates (I think) are where the top-left corner of the crewmate should go.

blue is just the color of the crewmate (red, yellow, green, cyan, blue or purple)

0 is the mood of the crewmate (0 is happy, 1 is sad, I think)

faceplayer is the AI of the crewmate, An AI can be one of these: followplayer, followpurple, followyellow, followred, followgreen, followblue, faceplayer, followposition (if you choose this one there has to be a sixth variable saying what x position), panic, faceleft, or faceright

lol...ipops2

I'm making a level where you play as :vermillion: and I want to know how to make you stay as vermillion when you die.

Viridan

put the changeplayercolour command over your checkpoints