Thread: [HELP] Force animation for npcs

Results 1 to 4 of 4
  1. #1 [HELP] Force animation for npcs 
    Registered Member
    netzo's Avatar
    Join Date
    Feb 2008
    Age
    31
    Posts
    1,226
    Thanks given
    402
    Thanks received
    135
    Rep Power
    185
    Hello,

    Can anyone tell me how to make npc force animation?
    For example: npc is doing defence animation and he starts attacking but he doesn't make attack emote because defence anim is not done :/
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    May 2012
    Posts
    1,084
    Thanks given
    328
    Thanks received
    82
    Rep Power
    135
    Yea I need this aswell xD
    Reply With Quote  
     

  3. #3  
    Registered Member
    netzo's Avatar
    Join Date
    Feb 2008
    Age
    31
    Posts
    1,226
    Thanks given
    402
    Thanks received
    135
    Rep Power
    185
    bump
    Reply With Quote  
     

  4. #4  
    Shake n Bake

    Organic's Avatar
    Join Date
    Apr 2010
    Posts
    2,499
    Thanks given
    204
    Thanks received
    324
    Rep Power
    588
    I don't really understand what you mean um this might help
    Code:
    	public void forceAnim(int number) {
    		animNumber = number;
    		animUpdateRequired = true;
    		updateRequired = true;
    	}
    Code:
    					if (multiAttacks(i)) {
    						multiAttackGfx(i, getNPCs()[i].projectileId);
    						startAnimation(getAttackEmote(i), i);
    						getNPCs()[i].oldIndex = c.playerId;
    						return;
    					}
    Code:
    					if (c.attackTimer < 9 || c.attackTimer == 0
    							&& c.npcIndex == 0 && c.oldNpcIndex == 0) { // block
    																		// animation
    						c.startAnimation(c.getCombat().getBlockEmote());
    					}
    Idk.

    Just live life at its fullest.

    LOL
    Reply With Quote  
     

  5. Thankful user:



Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [RSPS Client 562/659] Adding npcs force movement
    By dragonkk in forum Tutorials
    Replies: 2
    Last Post: 08-21-2011, 04:47 AM
  2. Replies: 5
    Last Post: 07-15-2010, 12:36 AM
  3. npcs animation
    By Robin Spud in forum Requests
    Replies: 4
    Last Post: 05-30-2009, 05:33 PM
  4. [iPanel] Force Animation Button
    By Roger in forum Configuration
    Replies: 0
    Last Post: 04-16-2009, 10:03 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •