So I'm not very hopeful of a good solution to this but; I need to modify specific fields of a mover during the game.
The mover is used to control the flight path of some missiles and I want to modify values in the motion phases based on other numbers. I've tried using edit catalog field value and it gives me some error in game that reads: Core: access denied to required object or service. I've dug a bit and it looks like there are some fields that are read only and can't be edited in game, and this seems to be one of them?
The best workout around I can think of is having like.. 50 movers each modified by a small increment so if the number I'm basing off changes I could just change the mover itself used by the launch effect. I'm not sure if this will work though as I am going to have a lot of weapons. Each player only has one unit so that isn't an issue.
Yeah movers can determine how missiles move, there's a field in the launch missile effect type to select the mover. I've got a mover set up for my missile and it works fine, but what I want is to be able to change the values of that mover, dependent on stat gains the unit might get from leveling. So say the unit levels up and I want the fireballs it throws to move faster, I want to modify the speed field in the mover while the game is playing and add say 1 to it.
Not exactly what I want to do but its a good example.
Bumping this. If nobody can think of a better alternative I'm probably going to end up making like 300+ movers each with a very slight difference than the others. Yeah it will suck big time, someone save me!
If all you're doing is modifying the speed of the mover you could try using a buff on the projectiles that alters the timescale of them which you can use the catalog set functions for,
Thanks for the reply. The speed isn't actually the property I want to modify, I just don't want to give too much about my map away and this feature is something unique to it as far as I know and took me a while to figure out. Only other option I've come up with is saying screw using movers all together and trying to do it through triggers so I can just use variables and modify them as I please.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So I'm not very hopeful of a good solution to this but; I need to modify specific fields of a mover during the game.
The mover is used to control the flight path of some missiles and I want to modify values in the motion phases based on other numbers. I've tried using edit catalog field value and it gives me some error in game that reads: Core: access denied to required object or service. I've dug a bit and it looks like there are some fields that are read only and can't be edited in game, and this seems to be one of them?
The best workout around I can think of is having like.. 50 movers each modified by a small increment so if the number I'm basing off changes I could just change the mover itself used by the launch effect. I'm not sure if this will work though as I am going to have a lot of weapons. Each player only has one unit so that isn't an issue.
Any ideas?
I'm not quite sure what yr saying. I think you need a mover for a missle to work properly?
Yeah movers can determine how missiles move, there's a field in the launch missile effect type to select the mover. I've got a mover set up for my missile and it works fine, but what I want is to be able to change the values of that mover, dependent on stat gains the unit might get from leveling. So say the unit levels up and I want the fireballs it throws to move faster, I want to modify the speed field in the mover while the game is playing and add say 1 to it.
Not exactly what I want to do but its a good example.
Bumping this. If nobody can think of a better alternative I'm probably going to end up making like 300+ movers each with a very slight difference than the others. Yeah it will suck big time, someone save me!
If all you're doing is modifying the speed of the mover you could try using a buff on the projectiles that alters the timescale of them which you can use the catalog set functions for,
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Thanks for the reply. The speed isn't actually the property I want to modify, I just don't want to give too much about my map away and this feature is something unique to it as far as I know and took me a while to figure out. Only other option I've come up with is saying screw using movers all together and trying to do it through triggers so I can just use variables and modify them as I please.