Jump to content

Photo

Not a request for a new script


  • Please log in to reply
21 replies to this topic

#16 ZebraStallion

ZebraStallion

    Follower of Destiny

  • Members

Posted 12 December 2008 - 05:58 PM

So what lines should I delete out of christian's?

(Thanks btw! icon_biggrin.gif )

#17 Joe123

Joe123

    Retired

  • Members

Posted 12 December 2008 - 06:06 PM

Well...
The global script starts with 'global script Slot_2{', and it's the '{' character that opens the script.

It ends when you reach the '}' on the same vertical line (if you get me?)
If you look through the script, you've ended it by putting a brace there without moving it out to the right, and then added in more parts to the script afterwards.
So you need to remove the brace that ends the script prematurely.

#18 Christian

Christian

    Summoner

  • Members
  • Real Name:Chris
  • Location:New Jersey

Posted 12 December 2008 - 06:29 PM

QUOTE(ZebraStallion @ Dec 12 2008, 05:58 PM) View Post

So what lines should I delete out of christian's?

(Thanks btw! icon_biggrin.gif )

no problem. Make sure you study that tutorial though. for a reason it's up there. Not just to make the forum pretty. And once you delete that extra brace and that extra script where you check both flags and inherent flags to reduce checks, you're good to go mr.zebra. Sorry forgeting those minor errors.

#19 ZebraStallion

ZebraStallion

    Follower of Destiny

  • Members

Posted 13 December 2008 - 08:11 AM

Okay, I removed the brace and that script. I also noticed that in the roll script,

CODE

//Call Roll functions if(Link->InputL && !lastL && Link->Action == LA_WALKING && Link->Z == 0 && !NoRoll && !Epona && !Falling) Roll();


It says you can't roll on Epona. Epona isn't in my quest anymore. What do I do with this line?


#20 Joe123

Joe123

    Retired

  • Members

Posted 13 December 2008 - 08:55 AM

CODE
//Call Roll functions if(Link->InputL && !lastL && Link->Action == LA_WALKING && Link->Z == 0) Roll();


Use that one.

#21 ZebraStallion

ZebraStallion

    Follower of Destiny

  • Members

Posted 13 December 2008 - 06:18 PM

Thank you both for helping! Once I find sprites I will test them out and if I have any problems I will post it here!

I added you both to the Pearl Of Shadows credit list for scripting. (Joe was already on it, but he got a star next to his name...)

#22 Christian

Christian

    Summoner

  • Members
  • Real Name:Chris
  • Location:New Jersey

Posted 13 December 2008 - 08:15 PM

No problem. Hope to see these scripts in action soon in the full demo. Any questions just feel free to ask.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users