Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
1 Active | 74 Guests
Online:

LATEST FORUM THREADS

»
New BF2 Mod
BF2 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty: World at War
Category: CoDWW Scripting
Scripting and coding with Call of Duty: World at War.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: moving effects
Big-Smile
General Member
Since: Oct 7, 2012
Posts: 1
Last: Oct 7, 2012
[view latest posts]
Level 0
Category: CoDWW Scripting
Posted: Sunday, Oct. 7, 2012 07:20 am
Hi,

Can I move effect while map is running?

I have try a script, but it don't work.

Code

main()
{

lightOrigin = getent ("fxOrigin","targetname");

level._effect["Light"] = loadfx("maps/mp_maps/fx_light_sec");

maps\mp\_fx::loopfx("Light",lightOrigin.origin, 0.2);

lightOrigin thread moving_light_efx();
}

moving_light_efx()
{

while(1)
{
self movex(64,1,0.5,0.5);
self waittill("movedone");
self movex(-64,1,0.5,0.5);
self waittill("movedone");

}
}
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty: World at War : CoDWW Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»