Graal Forums  

Go Back   Graal Forums > PlayerWorlds > Era Main Forum > Era Bugs and improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-12-2006, 12:14 AM
kinetaro kinetaro is offline
Hiding under your bed.
kinetaro's Avatar
Join Date: Jun 2006
Posts: 30
kinetaro is on a distinguished road
Send a message via AIM to kinetaro Send a message via MSN to kinetaro
PHP Code:
//#CLIENTSIDE
function onActionProjectile(AttackerDamage// or however era has it setup
{
if (
player.dir == getdir(player.Attacker.xplayer.Attacker.y) {
//block
}

it doesnt really need to detect what angle the bullet is traveling in, since its pretty rare that an enemy can run completely around you before the bullet hits you. Era's current bullet detection system does attach the attackers account to the bullet all you have to do is check the players direction against the getdir function.
Reply With Quote
Reply


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 08:34 PM.


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