View Single Post
  #265  
Old 07-19-2005, 07:00 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Quote:
Originally Posted by ZeroTrack
I'd say leave it like v2 is its a lot better that way
I believe, if i remember correctly, cheetos telling me something about how the join function is still not finshed yet, i was running into problems with join as well, I've totally batched up what he told me though cause its late and i can't remember, Cheetos can you clarify please <3
I said that it seems to be having problems when used in a weapon script like this:

putnpc2(somex,somey,"join(\\"classname\\");");

It doesn't seem to work in weapons at all. Stefan says it works on Zone though I think, so I am not sure what is wrong. It gives the following error:
error: unexpected token: ) at line 3: putnpc2(player.x,player.y,"join(\\"cheetos_generic \\");");

EDIT: Hm, apparently it is only one \, not two. Thanks Lance
putnpc2(player.x,player.y,"join(\"cheetos_generic\ ");");

I am still confused, however, because this works in one of Fry's scripts (in a class joined to the player):
temp.variable = putnpc2(x,y, "join(\\"classname\\");");