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


Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script ERROR need help N00B
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#5
RE: Script ERROR need help N00B

Please repeat your updated script file so I can see it.
(04-30-2011, 09:22 PM)NylePudding Wrote: If I understand correctly you have made an extremely easy mistake to correct.

playSoundAtEntity("", "unlock_door", "door_1", 0, false,);

should be: playSoundAtEntity("", "unlock_door", "door_1", 0, false);

You had a comma at the end of "false".

C++ is annoying like that, hope it helps. Big Grin

I love C++ it always works nearly perfect for me. Big Grin
Nevermind, I found the problem.

You need to watch your capitalization and punctuation.

This: playSoundAtEntity("", "unlock_door", "door_1", 0, false,);

Is supposed to be this:

PlaySoundAtEntity("", "unlock_door", "door_1", 0, false);

(This post was last modified: 04-30-2011, 10:20 PM by Kyle.)
04-30-2011, 10:15 PM
Find


Messages In This Thread
Script ERROR need help N00B - by X4anco - 04-30-2011, 09:10 PM
RE: Script ERROR need help N00B - by NylePudding - 04-30-2011, 09:22 PM
RE: Script ERROR need help N00B - by Exostalker - 04-30-2011, 09:23 PM
RE: Script ERROR need help N00B - by X4anco - 04-30-2011, 09:27 PM
RE: Script ERROR need help N00B - by Kyle - 04-30-2011, 10:15 PM
RE: Script ERROR need help N00B - by X4anco - 04-30-2011, 11:00 PM
RE: Script ERROR need help N00B - by Tottel - 04-30-2011, 11:34 PM
RE: Script ERROR need help N00B - by Kyle - 04-30-2011, 11:56 PM
RE: Script ERROR need help N00B - by Simpanra - 04-30-2011, 11:49 PM
RE: Script ERROR need help N00B - by Karai16 - 05-01-2011, 01:03 AM
RE: Script ERROR need help N00B - by Kyle - 05-01-2011, 01:10 AM
RE: Script ERROR need help N00B - by Karai16 - 05-01-2011, 01:16 AM
RE: Script ERROR need help N00B - by NylePudding - 05-01-2011, 08:03 AM



Users browsing this thread: 2 Guest(s)