Thread: Shoot to GS2?
View Single Post
  #2  
Old 05-31-2006, 07:22 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
x-x things like
shoot whateverwhateverwhatever will not work on GS2.. because its not GS2

its, shoot(param,param,param,etc)
setshootparams(params)

Do you understand?

setani aniname,param;
is now setani("aniname","param1");

also, shoot is a reserved function so do something like
function DoShoot()

in addition.. just a side note:

use player.x not playerx (playerx is GS1) etc that way you are accessing the player in object form not GS1 form.

i strongly suggest checking out the bible/wiki for more information.. go to the GScript section and look up starters guide (or on the wiki, just look at the main Gscript page) there are links to function lists.. the (2) next to the Clientside functions is a simple dump of all the functions.. no weirdness like the Bible used to have.. I like having just a big CTL+F searchable list of functions.. if i need something to do with files then I just search the document as i would on google.. with simple keywords.. ie: file would bring up like findfile() deletefile() etc...

anyways.. good luck.. dont be afraid to post even if people are jerks because its the best way to learn.. also check out the #gscript IRC chat: irc.freenode.net/#gscript
Reply With Quote