Results 1 to 10 of 113

Thread: Yoyorast V2 - So damn close!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Chris chrisk123999's Avatar
    Join Date
    May 2009
    Location
    Florida, USA
    Posts
    646

    Re: Yoyorast V2 - So damn close!

    http://www.xfire.com/video/1353ff/

    Works perfect.

    When the client joins and the script on the client shoots nothing will happen since the client can't make a projectile because it's not the host.

    Script:
    Code:
    (global boolean is_host false)
    
    (script dormant host_check
    (begin
    (effect_new "chris\effects\sniped" shoot)
    (sleep 30)
    (if (<= (unit_get_health host_check) 0)
    (set is_host true)
    )
    )
    )
    Edit this to run on map startup.

    Place a flag like this:

    Make sure the shot hits the head of the bottom biped.
    Name it shoot (or something else if you changed the script).

    Use this effect: http://dl.getdropbox.com/u/1455347/H.../sniped.effect

    Basically, this works because the client can't kill it's own biped.
    Last edited by chrisk123999; September 8th, 2009 at 11:10 PM.
    Reply With Quote

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •