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
One question?
skatekai Offline
Junior Member

Posts: 15
Threads: 6
Joined: Jul 2012
Reputation: 0
#7
RE: One question?

(07-24-2012, 02:40 PM)zecuro Wrote: its the only thing i know well still some hpl 2 documentation but what are you using ?????

I have seen the videos of "Noob to Pro" by Your Computer and the man used a program (like the notepad++ or notepad) in when you started with a script appeared a few options of the same script, not know if I I explained well

(07-24-2012, 02:39 PM)SilentStriker Wrote: You place a Script area then use AddEntityCollideCallback and if you want to play music it's PlayMusic but if you want to play a sound it's PlaySoundAtEntity
okay, but does not work just try it and it feels. I'll put something in the script to look at me:




void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "LightsOut", true, 1);
}
void LightsOut(string &in asParent, string &in asChild, int alState)
{
SetLampLit("candlestick_floor_1", false, true);
AddTimer("", 0, "Out2");
CreateParticleSystemAtEntity("ParticleSystem_1", "ps_dust_whirl.ps", "LightsOut", false);

PlaySoundAtEntity("", "general_wind_whirl.snt", "LightsOut", 0, false);
}
(This post was last modified: 07-24-2012, 02:53 PM by skatekai.)
07-24-2012, 02:47 PM
Find


Messages In This Thread
One question? - by skatekai - 07-24-2012, 10:02 AM
RE: One question? - by SilentStriker - 07-24-2012, 11:25 AM
RE: One question? - by skatekai - 07-24-2012, 02:38 PM
RE: One question? - by SilentStriker - 07-24-2012, 02:39 PM
RE: One question? - by zecuro - 07-24-2012, 02:40 PM
RE: One question? - by SilentStriker - 07-24-2012, 02:44 PM
RE: One question? - by skatekai - 07-24-2012, 02:47 PM
RE: One question? - by SilentStriker - 07-24-2012, 03:09 PM
RE: One question? - by skatekai - 07-24-2012, 03:15 PM
RE: One question? - by SilentStriker - 07-24-2012, 03:55 PM
RE: One question? - by FlawlessHappiness - 07-24-2012, 11:54 PM



Users browsing this thread: 1 Guest(s)