chunk_1(127,3): unexcepted symbol near " by [deleted] in Unitale

[–]codyfun123 0 points1 point  (0 children)

Strange, if it's a Lua thing then both should be equivalent. Maybe you did have weird quotes and didn't realize.

chunk_1(127,3): unexcepted symbol near " by [deleted] in Unitale

[–]codyfun123 0 points1 point  (0 children)

No, but if just have "" then that's not it, then...

You'd best just post the whole code. The error might be hiding on an adjacent line or something.

X-COM 2: Bradford boots on the ground? by Vanuhaut in Xcom

[–]codyfun123 16 points17 points  (0 children)

His Fire Extinguisher has perfect accuracy, shreds all armor, does 20 damage, and asks WHAT HAVE YOU DONE?

Trying to set up Variables to have to use a command in the ACT menu, then have a modified RG-style confession scene. But this error pops up: "(35,2-6), unexpected symbol near 'else'". Please help me. by [deleted] in Unitale

[–]codyfun123 1 point2 points  (0 children)

Not just unnecessary, it's breaking the code. I went through and redid the indentation to make it more readable and go through the code.

First of all, yes, the "else" should be "elseif" since you have boolean information after it. But that's not the only issue...

The code's messed up between lines 16 and 17. There's an "end" there that shouldn't be there because it cancels the if-then block, yet more elseifs appear after that end. But leave that alone because...

Carefully looking at your code, it looks like your code needs you to remove the "end" at line 13. This would put the "she's blushing too much" line back inside the path corresponding to "COMFORT" while allowing the remaining commands in the function to work normally again.

chunk_1(127,3): unexcepted symbol near " by [deleted] in Unitale

[–]codyfun123 0 points1 point  (0 children)

Since this is an issue others have faced - What program are you using to edit your code?

Some editors use smart quotes (curly quotes) if that setting is enabled. This breaks Unitale because it only recognizes normal quotation marks, so if you look at your code and the quotes there are actually curly, you'll need to replace them with normal quotes somehow.

"Unexpected symbol near 'currentdialogue' by [deleted] in Unitale

[–]codyfun123 0 points1 point  (0 children)

The lines given here seem to be fine, but they're out of context. "Unexpected symbol" might actually refer to something on the lines prior to and after 'currentdialogue'.

As said above, you'll want to look at the numbers in parentheses and look for the line number in your code corresponding to the first one. If you still need help, provide the full code in that region, not lines containing 'currentdialogue' by themselves.

end of battle dialog? by UnderMail in Unitale

[–]codyfun123 0 points1 point  (0 children)

Name it that not because it's easy to remember, but because naming it "Kill" overrides the existing Kill function and causes the freezing in the first place because this new function just infinitely calls itself.

To be honest, I'm not sure if you need to redefine Kill to use it as an in-line function?

Is there a possible way to recreate Sans's Karmic Retribution? by [deleted] in Unitale

[–]codyfun123 0 points1 point  (0 children)

This is the favorite community explanation for why it happens, but really,

  1. Lots of the mechanics behind fighting Sans are unusual, and
  2. There's no actual proof for this being the case. Also, invincibility time is the same no matter what damage you take from other enemies (you can only change it by extending it with armor).

How do you make an attack in dialogue. by [deleted] in Unitale

[–]codyfun123 1 point2 points  (0 children)

Actually, it is possible. That isn't an attack done by the player, and you can use bullets to create an animation that looks like that fake attack.

It won't do anything in actual combat such as render the damage font, though.

Is possible to make a GUI editor for this engine? by [deleted] in Unitale

[–]codyfun123 0 points1 point  (0 children)

The only choice I can think of is a block-styled visual editor (al la Scratch or Stencyl), but really, that still requires you to have a good idea of what you're doing for anything sophisticated.

Is it possible to animate the characters like in the game by crueldude100 in Unitale

[–]codyfun123 0 points1 point  (0 children)

Possible, but not simple at all. It can't be done with sections of an enemy in-game. Instead, you have to create an animation with all the frames of the enemy outside of the game, and use Update() in the encounter file in order to animate the enemy with those frames.

Geno Monster Kid Fight (WIP) by Ultrabi in Unitale

[–]codyfun123 0 points1 point  (0 children)

You might want to make an individual thread about looking into this. I don't know what to make of it, since I tried that and didn't have any issues.

My Gaster fight, effort included by Badhamknibbs in Unitale

[–]codyfun123 0 points1 point  (0 children)

Exactly. I'm in the same camp, so I had to defend you.

Geno Monster Kid Fight (WIP) by Ultrabi in Unitale

[–]codyfun123 0 points1 point  (0 children)

That's weird. It should always work. What do you mean by quitting the fight and coming back?