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
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#6
RE: Examine script

(08-08-2013, 11:03 AM)Adrianis Wrote:
(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.

Wow, didn't know that... I'm still going to use the (string &in as) as it's more typical for me.

So yeah, Tomzzz, check names and post your whole .lang file, please.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 08-08-2013, 11:08 AM by The chaser.)
08-08-2013, 11:07 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: 1 Guest(s)