Home   Help Search Login Register  

Author Topic: An extremley simple question that will probably make you all laugh  (Read 593 times)

0 Members and 1 Guest are viewing this topic.

kevinfostereditguy

  • Guest
iv been scripting for months now, and never knew the difference between -

_name

and

name

for example in a script, its probably such a simple reason i didnt know it. is the one with the dash restricted to the script, and the one without can be used to interact with a unit named "name" in the game?

Gameer_77

  • Guest
'_name' is used in a script which means that anything put into it, is only accessable (spelling?) from in that script.

'name' makes the contents of the variable accessable from anywhere.

:)

P.S. but i wouldn't use the 'name' variable or else there will be big bother ;D

Gameer