Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help, again :P
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#4
RE: Need help, again :P

(10-25-2012, 03:29 PM)Zaapeer Wrote:
(10-25-2012, 03:12 PM)The chaser Wrote: You could set the lever stuck when the coal is inside, so it can't make more stuff.

void GhostFunc(string &in asParent, string &in asChild, int alState)

{

AddPropForce("vase01_1", 0, 0, -2000, "world");

StartPlayerLookAt("vase01_1", 5, 10, "");

AddTimer("StopLookTimer1", 0.2f, "StopLookFunc1");

PlaySoundAtEntity("", "react_scare.snt", "Player", 0.1f, true);

}

Try this script, maybe it fixes it.
I made it so that the lever was suck after it had been pulled, but it still created more steam just from touching it...

Hey that script actualy worked, what did you change? Thanks Smile
You've put "player" instead of "Player". "Player" is always this way, never forget it.
And, by the lever, you could do this:

if (alState==1) //When lever is used
{
if(GetLocalVarInt("Var_coals")==3)//////This is a counter. Every coal should add 1 to it. This represents that there's a missing coal.
{
///Stuff like saying there isn't enough coal.
}
if(GetLocalVarInt("Var_coals")==4)//If the number of coals is 4, of course
{
//Create particles, sounds and stuff.
SetLocalVarInt("Var_coals", 0);///This will put the coals variable to 0, and it will make the lever unuseful another time. +, the coals couldn't collapse another time with the area, so the variable would be this way forever.
}

Hope that helped. Smile

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 10-25-2012, 04:29 PM by The chaser.)
10-25-2012, 04:27 PM
Find


Messages In This Thread
Need help, again :P - by Zaapeer - 10-25-2012, 03:08 PM
RE: Need help, again :P - by The chaser - 10-25-2012, 03:12 PM
RE: Need help, again :P - by Zaapeer - 10-25-2012, 03:29 PM
RE: Need help, again :P - by The chaser - 10-25-2012, 04:27 PM
RE: Need help, again :P - by ZodiaC - 10-25-2012, 06:48 PM
RE: Need help, again :P - by The chaser - 10-25-2012, 08:23 PM
RE: Need help, again :P - by ZodiaC - 10-25-2012, 08:51 PM
RE: Need help, again :P - by The chaser - 10-25-2012, 09:27 PM
RE: Need help, again :P - by ZodiaC - 10-25-2012, 10:17 PM
RE: Need help, again :P - by FlawlessHappiness - 10-25-2012, 10:49 PM
RE: Need help, again :P - by ZodiaC - 10-25-2012, 11:21 PM
RE: Need help, again :P - by The chaser - 10-26-2012, 06:44 AM
RE: Need help, again :P - by FlawlessHappiness - 10-26-2012, 07:01 AM
RE: Need help, again :P - by The chaser - 10-26-2012, 09:45 AM
RE: Need help, again :P - by FlawlessHappiness - 10-26-2012, 10:59 AM
RE: Need help, again :P - by Melvin - 10-26-2012, 11:13 AM
RE: Need help, again :P - by The chaser - 10-26-2012, 11:25 AM
RE: Need help, again :P - by ZodiaC - 10-26-2012, 01:25 PM
RE: Need help, again :P - by The chaser - 10-26-2012, 02:00 PM
RE: Need help, again :P - by ZodiaC - 10-26-2012, 02:32 PM
RE: Need help, again :P - by The chaser - 10-26-2012, 04:41 PM
RE: Need help, again :P - by Zaapeer - 10-27-2012, 12:17 AM
RE: Need help, again :P - by The chaser - 10-27-2012, 08:24 PM



Users browsing this thread: 3 Guest(s)