I want FFC's to disappear.
#16
Posted 06 June 2011 - 05:15 PM
Since your using the same tileset I use, you can use some of the dungeon tiles for this. I think it's a cool idea!
#17
Posted 07 June 2011 - 02:28 PM
#18
Posted 07 June 2011 - 06:56 PM
#19
Posted 07 June 2011 - 08:48 PM
I understand the ease of making a bunch of duplicate screens, but why do it if you don't have to?
#20
Posted 07 June 2011 - 09:21 PM
#21
Posted 07 June 2011 - 11:27 PM
void run(int register, int cmb){ //Declares the two FFC->D variables that will be used.
if(Screen->D[register] == 0){
Screen->D[register] ++; //Increments the value in the Screen->D variable you want to use for your register.
This->Data = cmb; //changes the combo of the FFC to what you want.
}
}
}
Haven't tested it, as I just took a script from Gale of Darkness and modified it in a quick few seconds.
- D0 is the D-Variable to use as the register.
- D1 is the combo to change the FFC to.
In order for it to automatically warp you out, you should leave D0 as 0 (unless you are using another script that uses D0!) and set D1 to an Auto Side Warp-type combo.
#22
Posted 08 June 2011 - 12:20 PM
#23
Posted 08 June 2011 - 02:49 PM
This is a very simple alternative if you can't get anyone to help you with the script.
Edited by Franky, 08 June 2011 - 03:00 PM.
#25
Posted 09 June 2011 - 03:31 PM
Edited by Lynker, 09 June 2011 - 03:35 PM.
#26
Posted 09 June 2011 - 04:18 PM
ffc script one-timecombochange{
void run(int register, int cmb){ //Declares the two FFC->D variables that will be used.
if(Screen->D[register] == 0){
Screen->D[register] ++; //Increments the value in the Screen->D variable you want to use for your register.
This->Data = cmb; //changes the combo of the FFC to what you want.
}
}
}
Then save the text file with .z after it? Example: "MyScript.z"
Edited by Franky, 09 June 2011 - 04:19 PM.
#27
Posted 09 June 2011 - 04:21 PM
#28
Posted 09 June 2011 - 04:25 PM
D0 can be from 0 to 7; you can set it to 0 unless you have another script that uses Screen->D[0].
#29
Posted 09 June 2011 - 04:52 PM
D0 can be from 0 to 7; you can set it to 0 unless you have another script that uses Screen->D[0].
Doh! Like I said, it wasn't tested, though. I didn't have any idea it wasn't allowed in ZScript.
Edited by Orin XD, 09 June 2011 - 04:53 PM.
#30
Posted 11 June 2011 - 10:44 PM
I'll make the door lock behind Link, and the room will be inaccessible.
This is confusing me, can you guys help? xD
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users