Jump to content

Photo

HELP WANTED: isSolid compile error


  • Please log in to reply
4 replies to this topic

#1 Zaxarone

Zaxarone

    Gigi & Merri Superstar Saga

  • Members
  • Real Name:Derek
  • Location:Oregon

Posted 23 March 2018 - 02:40 PM

So for a certain project I have, there is a function in std.zh(i think) called isSolid. its used in my jumping mechanics and my sideview ladders... and for some reason it will only compile with the master global i have created for this project. if i try to add any side view ladders the error says it 

cant match type signature issolid(float,float)

these are both very important to the quest so i need a solution. any ideas? thanks in advance.

~~Zax



#2 Saffith

Saffith

    IPv7 user

  • ZC Developers

Posted 23 March 2018 - 03:11 PM

Change it to Screen->isSolid.

isSolid was one I wrote years ago, before Screen->isSolid was added. It's still hanging around in a number of scripts, but there's no reason to use it anymore.
  • Zaxarone likes this

#3 Zaxarone

Zaxarone

    Gigi & Merri Superstar Saga

  • Members
  • Real Name:Derek
  • Location:Oregon

Posted 23 March 2018 - 03:14 PM

okay, one more thing. the issolid in question is a !IsSolid, checkling if it is not solid. how do i write that with screen->



#4 Avaro

Avaro

    o_o

  • Members
  • Real Name:Robin
  • Location:Germany

Posted 23 March 2018 - 03:36 PM

The "!" goes before Screen



#5 Zaxarone

Zaxarone

    Gigi & Merri Superstar Saga

  • Members
  • Real Name:Derek
  • Location:Oregon

Posted 23 March 2018 - 03:55 PM

cool i got it to work. too bad my double jump is wonky but at least i can compile now


Edited by Zaxarone, 23 March 2018 - 04:00 PM.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users