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
[SCRIPT] ANOTHER ERROR UNEXPECTED END OF FILE!
heyitsrobert97 Offline
Member

Posts: 68
Threads: 29
Joined: Jan 2012
Reputation: 0
#5
RE: [SCRIPT] ANOTHER ERROR UNEXPECTED END OF FILE!

(01-11-2012, 01:51 PM)flamez3 Wrote: void StartEffectEmotionFlash("basementdoortext","dooropen","00_laugh.snt")
{
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
}

You haven't used a callback for that; and you are using strings in syntax's. When do you want the StartEffectMotionFlash to happen?
I want the Emotion flash and sound to play when i enter the basementdoorsmash area .
then i want it so water fills that room to your knees. What code could you use to enable a liquid area when you walk into the "basementdoorsmash" script area i'll call the liquid area "basementwater" .

Sorry But it didnt work It came up with an error in the .hps file

(21,30) : ERR : Expected data type

void StartEffectEmotionFlash("basementdoortext", "dooropen", "00_laugh.snt")
{
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
}

/////////////////////////////
on void StartEffectEmotionFlash at the (" part ?

This Darn House! , Four Doors, Youtube
(This post was last modified: 01-11-2012, 02:19 PM by heyitsrobert97.)
01-11-2012, 02:15 PM
Find


Messages In This Thread
RE: [SCRIPT] ANOTHER ERROR UNEXPECTED END OF FILE! - by heyitsrobert97 - 01-11-2012, 02:15 PM



Users browsing this thread: 1 Guest(s)