Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-23-2012, 11:07 PM
Trakan Trakan is offline
It's all about cats!
Trakan's Avatar
Join Date: Sep 2010
Location: France
Posts: 64
Trakan is an unknown quantity at this point
Somersaults (dodge)

Hey! I have a little request, i'm really bad with gs2 (better with gs1) and my script is not good:
(No scripters for my project for now :/)

It's a fast-maked script, no worries x)
PHP Code:
if(key == e) {
 if(
playerdir == 3){
setani gh_gani_roulade,;
playerx += 0.1;
(
10times for 1second)
freezeplayer .5;
}
if (
playerdir == 1){
setani gh_gani_roulade,;
playerx -= 0.1;
(
10times for 1second)
freezeplayer .5;
}
if (
playerdir == 0){
setani gh_gani_roulade,;
playery -= 0.1;
(
10times for 1second)
freezeplayer .5;
}
if (
playerdir == 2){
setani gh_gani_roulade,;
playery += 0.1;
(
10times for 1second)
freezeplayer .5;
}

If anyone can re-do it better with gs2 :/
My gani is 0.35 seconds, it's better to have player += 0.2/0.1, 4times?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.