#16
Posted 23 February 2013 - 07:17 PM
#17
Posted 03 March 2013 - 05:41 PM
void NoMovement()
{
Link->InputUp = false; Link->PressUp = false;
Link->InputDown = false; Link->PressDown = false;
Link->InputLeft = false; Link->PressLeft = false;
Link->InputRight = false; Link->PressRight = false;
}
that one is really good i used it for my tree shake topic. the press up etc didn't know about.
Edited by tox_von, 03 March 2013 - 05:42 PM.
#18
Posted 23 April 2013 - 12:10 AM
- debugLabel() and debugValue(), which are shortcuts to drawString and drawInteger intended for debug output.
- moveLink() and move(), which just move objects with options to check or ignore solidity and moving off screen.
- WaitframesNoAction(), which simply combines Waitframes() and WaitNoAction().
- checkScreenFlag(), which makes it easier to get a screen flag without worrying about bitwise operators.
#19
Posted 23 April 2013 - 05:07 PM
Also, there's already a multi-frame version of WaitNoAction(), so that one's superfluous.
Still, useful stuff. Not sure how I didn't see this sooner.
#20
Posted 23 April 2013 - 05:23 PM
Once I finish my other plans that is.
#21
Posted 03 May 2013 - 04:54 AM
FONT_S, COLOR_WHITE, COLOR_BLACK
These aren't defined in the hader, or in any header I use at present. Am I missing a piece of the picture?
I don't recall if it also halted on:
TF_NORMAL or OP_OPAQUE
It may have done so, but as I commented out the debug values, I didn't heed anything beyond the initial few errors.
#22
Posted 03 May 2013 - 10:04 AM
#23
Posted 04 May 2013 - 12:32 PM
#24
Posted 14 May 2013 - 03:42 PM
A few lines of the OP code are broken because it looks like there's html coding for PureZC emoticons in it.
#25
Posted 14 May 2013 - 03:56 PM
Good old IPB messing up my codes. Ugh. Thanks, EZ.
#26
Posted 15 May 2013 - 04:23 PM
void real_trigger_secrets(){ if(Screen->Flags[SF_SECRETS]&2){ Screen->TriggerSecrets(); }else{ Screen->TriggerSecrets(); Screen->State[ST_SECRET]=true; } }
Triggers secrets the way you choose on screen data permanent or not per choice there
bool Link_on_combo_type(int type){ bool on=false; if(Screen->ComboT[ComboAt(Link->X+8,Link->Y+8)]==type) on =true; return on; } bool Link_on_tall_grass(){ return (Link_on_combo_type(CT_TALLGRASS)|Link_on_combo_type(CT_TALLGRASSC)|Link_on_combo_type(CT_TALLGRASSNEXT)); }
checks for combo type under link
void closingwipe(int wipetime){ for(int i=wipetime;i>0;i--){ NoAction(); InvertedCircle(4, 6, CenterLinkX(), CenterLinkY(), Floor(300/wipetime)*i, 1, 15); Waitframe(); } } void openingwipe(int wipetime){ for(int i=0;i<wipetime;i++){ NoAction(); InvertedCircle(4, 6, CenterLinkX(), CenterLinkY(), Floor(300/wipetime)*i, 1, 15); Waitframe(); } }
Uses the InvertedCircle Method to allow for custom open and close wipes around link.
Edited by aaa2, 15 May 2013 - 04:42 PM.
#27
Posted 05 July 2013 - 04:26 AM
#28
Posted 25 January 2014 - 12:42 AM
Um... I think something broke. I downloaded this just now, needing it for some scripts I have, and I'm getting errors regarding undeclared functions in stdextra.zh.
#29
Posted 25 January 2014 - 12:56 AM
Did you include the three "prerequisite" headers? They're commented out near the top but you need to have them uncommented at least once in your script file.
#30
Posted 25 January 2014 - 01:02 AM
I see. I didn't have "string.zh" set up. I'll get that one and see if it works.
EDIT: Er... I can't find it anywhere, and the forum search bar isn't helping. Mind telling me where to look?
Edited by kurt91, 25 January 2014 - 01:04 AM.
Also tagged with one or more of these keywords: Header
ghost
Zelda Classic →
Scripting Discussion →
Testers Wanted for Ghost 2.9.0Started by Timelord , 07 Oct 2021 ghost, autoghost, 2.9, 2.9.0 and 5 more... |
|
|
||
header
Zelda Classic →
Scripting Discussion →
ItemHoldUpMessage.zhStarted by Timelord , 02 Aug 2017 header, item, items, hold, up and 3 more... |
|
|
||
header
Zelda Classic →
Scripting Discussion →
Music.zhStarted by Timelord , 03 Jul 2017 header, music, enhanced, boss and 1 more... |
|
|
||
Zelda Classic →
Scripting Discussion →
Check ZC Version (2.50.0, 2.50.1, 2.50.2) with this HeaderStarted by Timelord , 30 Nov 2015 header, version |
|
|
||
experimental
Zelda Classic →
Scripting Discussion →
Five Screens AwayStarted by Timelord , 21 Aug 2015 experimental, header, module and 1 more... |
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users