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 Error unexpected end of file! Please help
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#2
RE: Script Error unexpected end of file! Please help

(04-06-2012, 10:52 AM)hiippari Wrote: void UseAcidDoor (string &in asItem, string &in asEntity)
{
---if(asItem == "glass_container_filled")
---{
------PlaySoundAtEntity("burnlock", "puzzle_acid", "AcidDoor", 1.0f, false);
------CreateParticleSystemAtEntityExt("AcidSteam","ps_steam_puff","AcidDoor", false, 0.0f, 0.35f, 0.0f, 1.0f, false, 10, 10, 10, 10);
------CreateParticleSystemAtEntity("AcidBubbles","ps_acid_container_bubbles","AcidDoor", false);
------SetSwingDoorLocked("AcidDoor", false, false);
------CompleteQuest("AcidLock", "AcidLock");
------GiveSanityBoost();
------RemoveItem("glass_container_filled");
------
---}
*** ---> } <--- ***


Noob scripting tutorial: From Noob to Pro

04-06-2012, 11:17 AM
Find


Messages In This Thread
RE: Script Error unexpected end of file! Please help - by Cranky Old Man - 04-06-2012, 11:17 AM



Users browsing this thread: 3 Guest(s)