- Joined
- Dec 24, 2018
- Messages
- 580
I'll will see what I can do with my poor abilities, thanks anywayYou can't change the size of the effect from within the object editor. You have two options:
- Edit and upscale the model so it appears bigger when used for the ability.
- Remove the model from the spell and instead create a special effect with a trigger. This effect can have its scale set to whatever you need it to be but must me manually cleaned up. There are more proper solutions but in this case you can use a locally-shadowed global effect variable and a wait to remove the effect when the spell is done. A sample trigger is below:
- Events
- Unit - A unit starts the effect of an ability
- Conditions
- (Ability being cast) equal to Rainbow
- Actions
- Custom script: local effect udg_SomeEffect //match the name of your variable here but keep the udg_ prefix; this line has to be first in your trigger
- Set TempPoint = (Target point of ability being cast)
- Special Effect - Create a special effect at TempPoint using RainbowModel.mdl
- Special Effect - Set scale of (last created special effect) to YOUR_SCALE
- Set SomeEffect = (last created special effect)
- Custom script: call RemoveLocation(udg_TempPoint)
- Wait SPELL_DURATION seconds //might have to do some math here if different levels have different durations
- Special Effect - Destroy SomeEffect
- Set SomeEffect = (No effect) //necessary to prevent a leak