Thread: [Tutorial] XSE Scripting Tutorial
View Single Post
  #462    
Old April 15th, 2010 (10:39 PM).
xGGxToiZ's Avatar
xGGxToiZ
>.//:SO HOT:\\.<
 
Join Date: Mar 2010
Location: We're now near the Tin Tower! . xD
Age: 19
Gender: Male
Nature: Modest
Quote originally posted by Schiffy:
Only a few questions:
Quote originally posted by Schiffy:
1. how do you make a sprite disappear/reappear?
2. how do you make the screen fade to give the sprite time to disappear?
(together they would be known as the basic Team Rocket tactic)
Let's see . .
We have hidesprite and showsprite commands. (Temporary)
We also have setflag and clearflag. (Permanent)

I have an example:
Spoiler:

#dynamic 0x800000

#org @Start
lock
faceplayer
msgbox @1 0x4
closeonkeypress
fadescreen 0x1
hidesprite 0x1(People#)
fadescreen 0x0
msgbox @2 0x6
setflag 0x1000

release
end

#org @1
= Now you see me . .

#org @2
= Now you don't!


And the flag 1000, you have to put it in the "Person ID" Box.
So:
Person ID: |1000|


Try it! Hope it helps
__________________


JOHTO ELITE FOUR


. . .