narutohokager
Member
Posts: 149
Threads: 28
Joined: Jan 2011
Reputation:
0
|
Need some help !
Hi hi hi
So I have two problems :
First : FadeSepiaColorTo(5,1); Not working ! He do anything...
Second :
Not really a problem... Hard to explain because i'm french.
I'm looking for a sound of a monster/creature that goes really fast (Like 2-3 seconds) Dont know where i can found this
Thank a lot
|
|
12-13-2011, 10:13 PM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: Need some help !
1) FadeSepiaColorTo(5, 1); //You needed a space between "5,_1"
2) go into the main folder, go to the "sounds" folder. Then "enemy". And search in the monster sound that you would like. Preference is up to you.
|
|
12-14-2011, 01:31 AM |
|
nemesis567
Posting Freak
Posts: 874
Threads: 65
Joined: May 2011
Reputation:
10
|
RE: Need some help !
Statyk, does the space make a difference in AngelScript?
Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
|
|
12-14-2011, 01:46 AM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: Need some help !
(12-14-2011, 01:46 AM)nemesis567 Wrote: Statyk, does the space make a difference in AngelScript? It could. Everything else is fine about it. Even in normal speech, a space is necessary after commas for proper grammar. I have always put a space, as well as everyone else, so it COULD.
|
|
12-14-2011, 02:20 AM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: Need some help !
The compiler normally doesn't care about spaces and tends to remove them before parsing. Putting a space there is normally done for making the script easier to read for others. If the function isn't working, then we're going to need to see more of the entire script.
(This post was last modified: 12-14-2011, 05:01 AM by Your Computer.)
|
|
12-14-2011, 04:59 AM |
|
nemesis567
Posting Freak
Posts: 874
Threads: 65
Joined: May 2011
Reputation:
10
|
RE: Need some help !
(12-14-2011, 04:59 AM)Your Computer Wrote: The compiler normally doesn't care about spaces and tends to remove them before parsing. Putting a space there is normally done for making the script easier to read for others. If the function isn't working, then we're going to need to see more of the entire script. I though so. I think the problem might be related to the way he calls that function. Please post the script which includes the part where that function is called.
Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
|
|
12-14-2011, 01:14 PM |
|
narutohokager
Member
Posts: 149
Threads: 28
Joined: Jan 2011
Reputation:
0
|
RE: Need some help !
(12-14-2011, 01:31 AM)Statyk Wrote: 1) FadeSepiaColorTo(5, 1); //You needed a space between "5,_1" Its still not working ! FadeSepiaColorTo(15, 1); Maybe I need to put a figure greater than 15 ?
Your Computer : Here script :
Quote: void CollideAreaPortrait(string &in asParent, string &in asChild, int alState)
{
AddTimer("TimerFadeIn", 1.5f, "FadeInGuardien");
FadeOut(0.1f);
}
void FadeInGuardien(string &in asTimer)
{
FadeIn(0.05f);
StartScreenShake(0.1f,1, 0.5f,0.5f);
FadeSepiaColorTo(15, 1);
SetPlayerActive(true);
}
(This post was last modified: 12-15-2011, 09:46 PM by narutohokager.)
|
|
12-15-2011, 09:45 PM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: Need some help !
(12-15-2011, 09:45 PM)narutohokager Wrote: Your Computer : Here script :
That's not enough to help you.
|
|
12-15-2011, 10:58 PM |
|
palistov
Posting Freak
Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation:
57
|
RE: Need some help !
Spaces between arguments or parameters aren't necessary, from my experience. They are needed in some places, like between the function type and its name. voidYourFXN(param1, param2) would definitely cause an issue.
narutohokager: Try using a value less than 1. I'm not sure if the function works with such high values.
FadeSepiaColorTo(0.2f, 1.0f); <-- see if that works.
|
|
12-15-2011, 11:54 PM |
|
Karai16
Member
Posts: 164
Threads: 24
Joined: Apr 2011
Reputation:
0
|
RE: Need some help !
As-tu déja résolu le problem avec l'audio ou le script?
Custom stories:
Her Games (100% Complete)
Her Games, All Bugs Fixed (100% Complete)
|
|
12-16-2011, 12:37 AM |
|
|