YuraguKoto Posted June 12, 2009 Author Share Posted June 12, 2009 Is there a sadscript command that allows an arrow to be scriptedly fired out?PS: Scriptedly. BAD EXPRESSION!!! :renzo: Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 12, 2009 Share Posted June 12, 2009 Yea, you would use this command:**Call** FireArrow(Index, Arrow, Direction)Where:Arrow -> The arrow number to fireDirection -> The direction for the arrow to go (0=Up, 1=down, 2=left, 3=right).So if you wanted the user to fire the arrow number 3, in the same direction he's facing, it would be:**Call** FireArrow(Index, 3, GetPlayerDir(Index)) Link to comment Share on other sites More sharing options...
xeross Posted June 12, 2009 Share Posted June 12, 2009 @Admiral:> Yea, you would use this command:> **Call** FireArrow(Index, Arrow, Direction)> Where:> Arrow -> The arrow number to fire> Direction -> The direction for the arrow to go (0=Up, 1=down, 2=left, 3=right).> So if you wanted the user to fire the arrow number 3, in the same direction he's facing, it would be:> **Call** FireArrow(Index, 3, GetPlayerDir(Index))ZOMG, With that code i could make arrows shoot in all directions o.O.Wait if i make it loop through all players everyone would start shooting arrows into all directions, zomg awesome.Regards, Xeross Link to comment Share on other sites More sharing options...
Admiral Refuge Posted June 12, 2009 Share Posted June 12, 2009 @Xeross:> ZOMG, With that code i could make arrows shoot in all directions o.O.> Wait if i make it loop through all players everyone would start shooting arrows into all directions, zomg awesome.> > Regards, XerossI should add this to my Sub DestroyGame(Index) Link to comment Share on other sites More sharing options...
YuraguKoto Posted June 13, 2009 Author Share Posted June 13, 2009 LOL.Anyway, thanks as usual, didn't know that code would work.I saw it in one of dg's scripts, but I thought he made himself and I didn't want to leech it out. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now