Edited by Sparkster, 22 April 2015 - 12:46 AM.
#31
Posted 22 April 2015 - 12:46 AM
#32
Posted 22 April 2015 - 07:33 AM
#33
Posted 22 April 2015 - 01:20 PM
I will test tomorrow.
#34
Posted 23 April 2015 - 04:22 AM
I tested justins code with an test quest. I edited the const ints and then this comes out after compiling:
Pass 1: Parsing
Pass 2: Preprocessing
Pass 3: Building symbol tables
Pass 4: Type-checking/Completing function symbol tables/Constant folding
tmp, line 12: Error T21: Could not match type signature GetScreenState(float, float, float).
#35
Posted 23 April 2015 - 06:59 AM
I tested justins code with an test quest. I edited the const ints and then this comes out after compiling:
Pass 1: Parsing
Pass 2: Preprocessing
Pass 3: Building symbol tables
Pass 4: Type-checking/Completing function symbol tables/Constant folding
tmp, line 12: Error T21: Could not match type signature GetScreenState(float, float, float).
Oh, sorry! Every line that has "GetScreenState" in it needs a "Game->" before it. Like this:
const int All4TriggersCheck_Map = 0; //the map where the triggers are const int All4TriggersCheck_Screen1 = 0; //first screen const int All4TriggersCheck_Screen2 = 0; //second screen const int All4TriggersCheck_Screen3 = 0; //third screen const int All4TriggersCheck_Screen4 = 0; //fourth screen ffc script All4TriggersCheck{ void run(){ if(Screen->State[ST_SECRET]) Quit(); while(!Game->GetScreenState(All4TriggersCheck_Map, All4TriggersCheck_Screen1, ST_SECRET)) Waitframe(); while(!Game->GetScreenState(All4TriggersCheck_Map, All4TriggersCheck_Screen2, ST_SECRET)) Waitframe(); while(!Game->GetScreenState(All4TriggersCheck_Map, All4TriggersCheck_Screen3, ST_SECRET)) Waitframe(); while(!Game->GetScreenState(All4TriggersCheck_Map, All4TriggersCheck_Screen4, ST_SECRET)) Waitframe(); Screen->TriggerSecrets(); Screen->State[ST_SECRET] = true; } }
#36
Posted 23 April 2015 - 10:10 AM
Compiled successfully and running fine. I tried 4 different secret and they are running fine with this FFC.
Thanks avataro and justin.
Also tagged with one or more of these keywords: Quest;, Script
Zelda Classic →
Scripting Discussion →
Is Tango still relevant ? (2.55 Alpha 115)Started by Pier , 19 Sep 2023 Tango, 2.55, Alpha 115, String and 2 more... |
|
|
||
Zelda Classic →
General ZC Discussion →
Can you recommend a quest for this veteran ZC fan?Started by Swifticuffs , 30 Aug 2023 quest, recommend |
|
|
||
Zelda Classic →
General ZC Discussion →
Poll Quest of the year 2022Started by Blackpaintbowser , 06 Feb 2023 quest of the year, 2022 |
|
|
||
Zelda Classic →
Scripting Discussion →
Requests [The Crystal Heart]Started by Ica , 01 Feb 2022 request, help, custom items and 2 more... |
|
|
||
Zelda Classic →
Custom Quest Discussion →
TitanQuest/Diablo 3 like QuestStarted by Lordkronos , 02 May 2021 Quest Idea, Scripted and 1 more... |
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users