Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2010-04-12 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: Effects on spawn  (Read 162 times)

Offline shini

  • Level 0 Beginner
  • Posts: 12
Effects on spawn
« on: May 10, 2008, 08:28:46 PM »
I was wondering how to add effects when you spawn.

Offline Jeff

  • Level 7 Expert
  • *****
  • Posts: 458
    • J3ff's Source Scripts
Re: Effects on spawn
« Reply #1 on: May 10, 2008, 08:55:11 PM »
Code: (eventscripts) [Select]
event player_spawn
{
  //Some effect code here.
}

~J3ff

Offline shini

  • Level 0 Beginner
  • Posts: 12
Re: Effects on spawn
« Reply #2 on: May 10, 2008, 10:06:50 PM »
does that go in the player_spawn_cmd

Offline CA.Berettonawak

  • Le renomm� m�connu...
  • Watchdogs
  • Level 7 Expert
  • *****
  • Posts: 3057
  • Big Berettonawak is watching you...
    • Coding-Alliance.Com : A bunch of coders? Why not a bunch of players? :P
Re: Effects on spawn
« Reply #3 on: May 10, 2008, 10:41:31 PM »
if you want to add effects at spawn only for a race, use player_spawn_cmd.
if you want it for all the players, then create a script (like jeff said) :
Code: (eventscripts) [Select]
event player_spawn
{
 //Some effect code here.
}
Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.

Quote from: myself
i love tuna juice :D

Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD

Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed