How to replace skill models with an imported file?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

gameguard007
Member
Posts: 59
Joined: September 9th, 2008, 8:27 am

How to replace skill models with an imported file?

Post by gameguard007 »

I have this line in a jass script.

call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Human\\FlameStrike\\FlameStrikeTarget.mdl"

Here is my question:
How can I replace the flamestriketarget.mdl with the file i have imported, fireball.mdl in the jass script?

Hoping for an immediate reply. Thanks in advance.
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4446
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: How to replace skill models with an imported file?

Post by Bartimaeus »

I believe you replace the - "Abilities\\Spells\\Human\\FlameStrike\\FlameStrikeTarget.mdl" - with the path to your model.
gameguard007
Member
Posts: 59
Joined: September 9th, 2008, 8:27 am

Re: How to replace skill models with an imported file?

Post by gameguard007 »

Hello there Bart, thats my problem how do I make a path to my model, is it the default w3import path?