Rugby

Revision as of 09:37, 16 August 2011 by Jeanpierre (talk | contribs) (Created page with "These are the macros for a rugby game. ==Player== ===Attack=== <nowiki>/script if(GetRaidTargetIndex("target")==2) and CheckInteractDistance("target",3) and (random(20) > 18) th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

These are the macros for a rugby game.

Player

Attack

/script if(GetRaidTargetIndex("target")==2) and CheckInteractDistance("target",3) and (random(20) > 18) then SetRaidTarget("target", 0);SetRaidTarget("player",2) end

Pass

/script if(GetRaidTargetIndex("player")==2) and CheckInteractDistance("target",1) and (random(10) > 5) then SetRaidTarget("target", 1);SetRaidTarget("player",0) end

Accept

/script if(GetRaidTargetIndex("player")==1) then SetRaidTarget("player", 2) end

Intercept

/script if(GetRaidTargetIndex("target")==1) and CheckInteractDistance("target",2) and (random(10) > 5) then SetRaidTarget("target", 0);SetRaidTarget("player",2) end

Tackle

/script if(CheckInteractDistance("target",3) and (random(10) > 7)) then if(GetRaidTargetIndex("target")==2) then SetRaidTarget("target", 8);SetRaidTarget("player",2) else SetRaidTarget("player",7);SendChatMessage("*** Foul" , "RAID") end end

Referee

Pauze match

/script SetRaidTarget("player",2) /rw **Pause**

Clear symbols

/script SetRaidTarget("target",0)