ID:266633
Apr 25 2002, 3:15 pm (Edited on Jun 18 2002, 4:46 pm)
|
|
I fixed it!
|
Apr 25 2002, 3:18 pm
|
|
whats the BugYes var do?
|
In response to Strange Kidd
|
|
If its a bug(Star ship troopers game) it doesnt allow it if it is it allows it
|
In response to Thief Jack
|
|
change the if(usr.BugYes==1) to if(T.BugYes==1)
|
In response to Strange Kidd
|
|
But wouldn't that be defining it towards the obj, turf, or other person?
|
In response to Thief Jack
|
|
well yes don't you want to know if the obj turf or other person is the Bug?
|
In response to Strange Kidd
|
|
No...If the usr is a bug it wont shoot. Bugs don't have guns :P
|
In response to Thief Jack
|
|
ohh i should have seen this along time ago
take away the .loc in usr.loc and t.loc |
Thief jack wrote:
client[snip] runtime error: Cannot read null.loc A client's Click() proc only takes two arguments, Object and Location. You used the same name, T, for three arguments. Notice that in the last line of your error you can see this. The first argument is the turf you clicked. The second is the location of the turf (the turf). The third is null. Unfortunately, you then try to access this null T's loc var. |