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
Examine script
Adrianis Offline
Senior Member

Posts: 620
Threads: 6
Joined: Feb 2012
Reputation: 27
#4
RE: Examine script

(08-08-2013, 10:00 AM)The chaser Wrote: There, fixed it for you. You had the parameter wrong (string &in asTimer) instead (string &in asEntity)

As long as the parameter is of the right type (in this case, 'string &in') it doesn't matter what you call it. (string &in HUEHUFSEIPSN) is still perfectly valid, it only cares about the type of parameter. For example, I always start a string variable name with 'str' instead of 'as', 'in' instead of 'al' etc, so i use e.g. 'strTimer' or 'inState' for parameters without issue.
Though obviously it is helpful if it's called something meaningful to avoid confusion, it won't actually be a problem unless your using the wrong type


Tomzzz, you should check the name of the candlestick in your map to make sure it is "InteractCandlestick"
If it is, then you might want to post up the whole of your extra english lang file in case there is something else there causing a problem, your script looks fine

(This post was last modified: 08-08-2013, 11:05 AM by Adrianis.)
08-08-2013, 11:03 AM
Find


Messages In This Thread
Examine script - by Tomzzz - 08-08-2013, 07:41 AM
RE: Examine script - by The chaser - 08-08-2013, 10:00 AM
RE: Examine script - by Tomzzz - 08-08-2013, 10:19 AM
RE: Examine script - by Adrianis - 08-08-2013, 11:03 AM
RE: Examine script - by Tomzzz - 08-08-2013, 11:07 AM
RE: Examine script - by Adrianis - 08-08-2013, 12:21 PM
RE: Examine script - by The chaser - 08-08-2013, 11:07 AM
RE: Examine script - by Kreekakon - 08-08-2013, 11:12 AM
RE: Examine script - by The chaser - 08-08-2013, 11:15 AM
RE: Examine script - by The chaser - 08-08-2013, 11:14 AM
RE: Examine script - by Tomzzz - 08-08-2013, 11:14 AM
RE: Examine script - by The chaser - 08-08-2013, 11:19 AM
RE: Examine script - by Tomzzz - 08-08-2013, 11:19 AM
RE: Examine script - by Tomzzz - 08-08-2013, 11:25 AM
RE: Examine script - by The chaser - 08-08-2013, 11:36 AM



Users browsing this thread: 2 Guest(s)