Thread Rating:
		
			
				- 0 Votes - 0 Average
 
				- 1
 
				- 2
 
				- 3
 
				- 4
 
				- 5
 
			
		 
 
	
		
			| 
				
				 
					Jump System
				 
			 | 
		
		
			| Author | 
			Message | 
		
		
	
	
		
	
		
		zottolo   
		
			Journeyman 
			  
			
			
 
 
			
	Posts: 87 
	Likes Given: 8
 
Likes Received: 12 in 11 posts 
	Joined: Dec 2015
	
 Reputation: 0
  
			
 ![]()  
		
	 | 
	
		
			
RE: Jump System 
			 
			
				i don't know about any function that can execute fractions of seconds...actually you want something really fast so could it be 
Code: 
 [function xxx] 
command 
yyy 
 
[function yyy] 
command 
zzz 
 
[function zzz] 
command
  
hope is not too fast...
			  
			
			
			
		 |  
	 
 | 
	| 01-14-2016 03:04 AM | 
	
		
	 | 
	
	
		   
		 
		
	 | 
	
		
		rastrero   
		
			Master 
			   
			
			 
			
	Posts: 250 
	Likes Given: 41
 
Likes Received: 28 in 24 posts 
	Joined: Jan 2016
	
 Reputation: 3
  
			
 ![]()  
		
	 | 
	
		
			
RE: Jump System 
			 
			
				 (01-14-2016 03:04 AM)zottolo Wrote:  i don't know about any function that can execute fractions of seconds...actually you want something really fast so could it be 
 
Code: 
 [function xxx] 
command 
yyy 
 
[function yyy] 
command 
zzz 
 
[function zzz] 
command
  
 
hope is not too fast... 
Buddy i appreciate your efforts,  
Aprecio el tuo esforto   
But really, u dont have the lvl to answer any of my request. And I know it cos im answering ur request and they are so basic. Dont waste ur time.  The thing u put is not able to work and dosnt solve anything xD 
If u do that, server will execute the 3 in order almost at the same time, so u would only see the last fnuctions that is the last part of the animation. But nice try anyway.
  
 (01-14-2016 03:10 AM)Kanibal Wrote:  Try this ^_^ 
Code: 
 [FUNCTION f_jump_system_a] 
src.sysmessage Dear player! Please wait 0,1s and type f_jump_system_b in your game window and press ENTER. Best regards Admin. 
command 
 
[FUNCTION f_jump_system_b] 
src.sysmessage Dear player! Please wait 0,1s and type f_jump_system_c in your game window and press ENTER. Best regards Admin. 
command 
...... 
 
PROFIT!
  
 
Is this a serius forum? U wanna be a people person? go to yahho chats to do jokes ty. Seems u got lot freetime. seriusly. will not work. is not funny. but ty for answer
			  
			
			
			
				
(This post was last modified: 01-14-2016 03:13 AM by rastrero.)
 
				
			 
		 |  
	 
 | 
	| 01-14-2016 03:11 AM | 
	
		
	 | 
	
	
		   
		 
		
	 | 
	
		
		karma   
		
			Moderator 
			     
			
			
 
 
			
	Posts: 178 
	Likes Given: 17
 
Likes Received: 32 in 29 posts 
	Joined: Jul 2012
	
 Reputation: 3
  
			
 ![]()  
		
	 | 
	
		
			
RE: Jump System 
			 
			
				You can use a memory item, with TIMER (will fire @Timer after <TIMER> seconds) or TIMERD (fire @Timer after <TIMERD> tenths of second) property. 
Code: 
 [ITEMDEF i_memory_jump] 
ID=02007 
TYPE=t_eq_script 
NAME=Memory (jump) 
 
ON=@Timer 
DOSWITCH <MOREX> //DOSWITCH begins counting from 0, and if i don't have set any MOREX property, it's zero by default 
 function_1 
 function_2 
 function_3 
ENDDO 
IF (<MOREX> > 3) 
 REMOVE 
ELSE 
 MOREX ++ 
 TIMERD=1 
ENDIF 
RETURN 1
  
When you want to activate this stuff you can do:
 
Code: 
 SERV.NEWITEM i_memory_jump,1,<UID of the CONT> 
NEW.TIMERD=1
  
			 
			
			
			
		 |  
	 
 | 
	| 01-14-2016 03:37 AM | 
	
		
	 | 
	
	
		   
		 
		
	 | 
	
		
		rastrero   
		
			Master 
			   
			
			 
			
	Posts: 250 
	Likes Given: 41
 
Likes Received: 28 in 24 posts 
	Joined: Jan 2016
	
 Reputation: 3
  
			
 ![]()  
		
	 | 
	
		
			
RE: Jump System 
			 
			
				 (01-14-2016 03:37 AM)Coruja Wrote:  since its not recommended set timers directly on chars, you must use an memory item with TIMERD 
 
Code: 
 [FUNCTION lol] 
SERV.NEWITEM i_memory_lol 
NEW.EQUIP 
 
[ITEMDEF i_memory_lol] 
ID=i_memory 
TYPE=t_eq_script 
 
ON=@Equip 
MORE=3 
TIMERD=1 
 
ON=@Timer 
IF (<MORE>) 
  CONT.SAY <MORE> 
  TIMERD=1 
  MORE -= 1 
ELSE 
  REMOVE 
ENDIF 
return 1
  
 
Ty buddy. I got it in a t_eq_script like u put, that was was just and example for the troll kanibal.
 
hmm I knew about timerd But forget it at all.. I think i have never try it dont know why..
 
Ill try tomorrow and will put my results. Ty Coruja.
			  
			
			
			
		 |  
	 
 | 
	| 01-14-2016 03:42 AM | 
	
		
	 | 
	
	
		   
		 
		
	 | 
	 
	
	
		
	
	
		
 
	 
	
	
	
	
	
	
	
		
		
	
	
	
User(s) browsing this thread: 1 Guest(s)