Jump to content

Photo

Paths help


  • Please log in to reply
6 replies to this topic

#1 Jambu

Jambu

    Doyen(ne)

  • Members
  • Pronouns:He / Him

Posted 11 April 2024 - 11:21 AM

#include "std.zh"
#include "NewbieBoss.z"
#include "GSD_sideviw.z"

I checked my include paths and I have

include/;headers/;scripts/;scripts/GSD_sideview/;

It's not finding the third file GSD_sideview.z



#2 Blackpaintbowser

Blackpaintbowser

    Go Bowser Go

  • Members
  • Location:somewhere in the world

Posted 11 April 2024 - 12:39 PM

#include "GSD_sideviw.z"

this is misspelled. it's missing the E


Edited by Blackpaintbowser, 11 April 2024 - 12:50 PM.

  • Jambu likes this

#3 Jambu

Jambu

    Doyen(ne)

  • Members
  • Pronouns:He / Him

Posted 11 April 2024 - 01:08 PM

I cannot believe I missed that, lol. I guess spelling would be kind of super important for scripts  :whistle:



#4 Jambu

Jambu

    Doyen(ne)

  • Members
  • Pronouns:He / Him

Posted 11 April 2024 - 08:39 PM

tKYikGy.png

Now I'm getting a whole different problem. Does it not work in 2.55?



#5 Emily

Emily

    Scripter / Dev

  • ZC Developers
  • Pronouns:She / Her

Posted 11 April 2024 - 08:43 PM

tKYikGy.png

Now I'm getting a whole different problem. Does it not work in 2.55?

What's on that line of that file? (Line 11 of 'scripts/GSD_sideview/GSD/sideview_ffc.z)



#6 Jambu

Jambu

    Doyen(ne)

  • Members
  • Pronouns:He / Him

Posted 11 April 2024 - 09:01 PM

I copy and pasted line 11 from the file.

void SetSideviewFFCSolidity(ffc f, int s, bool link, bool enemy){

Edited by Jambu, 11 April 2024 - 09:02 PM.


#7 Emily

Emily

    Scripter / Dev

  • ZC Developers
  • Pronouns:She / Her

Posted 11 April 2024 - 09:36 PM

 

I copy and pasted line 11 from the file.

void SetSideviewFFCSolidity(ffc f, int s, bool link, bool enemy){

so, that function has a variable named `link`; but that's a script type now. That variable (both where it's declared on line 11 there, and everywhere it's USED inside that function) need to be renamed to something else. (you could even just rename them from "link" to "link_" with an underscore added). After fixing this, you may also run into similar errors elsewhere in the code as well. You should be able to just rename these to fix it.
 


  • Jambu likes this


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users