Home   Help Search Login Register  

Author Topic: mp effects help  (Read 1146 times)

0 Members and 3 Guests are viewing this topic.

Offline WizzyWig

  • Members
  • *
  • Mod Maker
    • Oblivion Promotions
mp effects help
« on: 07 Aug 2004, 13:10:20 »
hi all

ok tomahawk is compleat the only BIG problem is the effects in mp all works fine for the one that launches the missile as in you can see effects but the only thing other players see is the missile and no effects this also happens when the warhead detonates only the person that run the script can see blast effects.

now how can i get the effects to work for all players in the mp game so all can see effects ?

ill include the person or persons in the readme of the tomahawk addon this is a easy back door.

thanks for your help

wizzywig

olseric

  • Guest
Re:mp effects help
« Reply #1 on: 07 Aug 2004, 19:34:35 »
Hey Wizzy~

The problem (I suspect) is that you're using an addAction command in order to launch the missile.

AddAction commands will only execute a script LOCALLY and therefore, I suspect that is the issue that you are running into.

A simple work-around would be to have another script present (sitting dormant) that detects if a missile is launched and if so, launches the appropriate scripts to show the detonation.  The only problem with this is, it will consume processor because it is sitting in a never-ending loop waiting for some variable to be reported as true.  The good news is since you're launching a missile, you could put about a 5 second wait in there since I wouldn't expect anyone to lauch one that would be detonated that soon anyway. :)

Offline WizzyWig

  • Members
  • *
  • Mod Maker
    • Oblivion Promotions
Re:mp effects help
« Reply #2 on: 08 Aug 2004, 00:52:55 »
ok thanks ill look into it more as i would like to do that but im not shore how to as all scripts are compleated for the missile its self i would like to have it in the cpp this way it will work for any one that has the addon

i need some one to do this for me