rey
  • rey
  • 52.5% (Neutral)
  • Major Topic Starter
7 years ago
i'm aware of common

CommandSetUpgrade
[Gives the object the ability to change commandsets back and forth when this module two times]
TriggeredBy = [entry(s) from Upgrade.INI]
FXListUpgrade = [entry from FXList.INI]
ConflictsWith = [entry(s) from Upgrade.INI]
RequiresAllTriggers = [Yes/No]
RemovesUpgrades [entry(s) from Upgrade.INI, multiple "upgrade" entrys can be put here]
CommandSet = [entry from CommandSet.INI]
CommandSetAlt = [entry from CommandSet.INI]
TriggerAlt = [entry(s) from Upgrade.INI]
End


this module changes CommandSet only if upgrade was purchased by player = question is:
if there is other way to change CommandSet, with automatic delayed(non-player started) means? i didn't find a way to use Statuses and GrantUpgrade doesn't work for already present units.
Sponsor
Zatsupachi
7 years ago
What're you trying to do here?
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
rey
  • rey
  • 52.5% (Neutral)
  • Major Topic Starter
7 years ago
it's a part of experimenting. i was trying to create an obj that through GrantUpgradeCreate provides upgrade, after that some units via CommandSetUpgrade with TriggeredBy on that upgrade should have changed their sets, but it didn't happen. that's why i'm asking if there are other ways.
Zatsupachi
7 years ago
re-iterating the premise didn't help much...

So from what I'm getting, you're trying to switch-out a commandset via a GrantUpgradeCreate(?).
Which somehow defeats the purpose of having the initial commandset unless there's something about this object that grants it.

The only foreseeable reason why it is not switching out the commandset I see is that it's an OBJECT_UPGRADE type upgrade, which requires you to upgrade object individually. Changing the upgrade type to PLAYER_UPGRADE would make it so that it affects the player globally.

Go check the upgrade entry.
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
rey
  • rey
  • 52.5% (Neutral)
  • Major Topic Starter
7 years ago

The only foreseeable reason why it is not switching out the commandset I see is that it's an OBJECT_UPGRADE type upgrade, which requires you to upgrade object individually. Changing the upgrade type to PLAYER_UPGRADE would make it so that it affects the player globally.

Go check the upgrade entry.

Originally Posted by: Zatsupachi 

you're right, i was trying to use GrantUpgradeCreate to change command set of unit. the thing is, even with global upgrade unit doesn't care if GrantUpgradeCreate appears after unit was created.
i wanted to create a unit, which spawns an obj(needed for other things), that after some time via another spawn creates obj with global GrantUpgradeCreate in order to change command set of initial unit. apparently GrantUpgradeCreate can do nothing here, and that why i'm asking here about other ways.