BeirutDude
Posts: 2625
Joined: 4/27/2013 From: Jacksonville, FL, USA Status: offline
|
quote:
ORIGINAL: KnightHawk75 Why do you need an separate action if it's contained in a SA and not just: ScenEdit_SetScore("Russia", ScenEdit_GetScore("Russia") - 2500,"Nuclear release authority granted"); ? But if you were trying to create an Action (tied to some trigger) the issue is name vs description. ScenEdit_SetAction({mode='add', type='Points', Description='Russia Authorizes Nukes (point change)', SideId='Russia', PointChange=-2500}) So I'm trying to do two things in one SA, allow the player to grant nuclear release at a cost of a certain number of VPs (likely -2,500). Seems like the first option will take away any points they gained and set the score to -2,500 which I don't want to do. but if say they have gained 3,000 VPs so far and then decide to go nuclear, after the SA is invoked I want them to have 500 VPs remaining (in that particular example).
< Message edited by BeirutDude -- 2/8/2022 2:43:17 AM >
_____________________________
"Some people spend an entire lifetime wondering if they made a difference. The Marines don't have that problem." PRESIDENT RONALD REAGAN, 1985 I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
|