lua question

A forum to discuss custom scenarios, campaigns and modding in general.

Moderator: Panzer Corps 2 Moderators

Post Reply
sstejona
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 15
Joined: Mon Oct 30, 2017 11:58 am

lua question

Post by sstejona »

Hi,
I want to create a MP scenario where player 2 gets extra prestige in different rounds. What does a corresponding Lua script look like?

Similar to a SpawnWave only without units but with prestige.

Can someone help me???

Greetings Tejo
sstejona
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 15
Joined: Mon Oct 30, 2017 11:58 am

Re: lua question

Post by sstejona »

I found another way. I modified a truck that appears in Turn x and I can sell it for Prestige x. Not what I'm looking for, but it works too. If anyone has a better idea, I would always be happy to hear about the possibilities.
VirgilInTheSKY
Major - Jagdpanther
Major - Jagdpanther
Posts: 1038
Joined: Wed Dec 18, 2019 4:26 pm

Re: lua question

Post by VirgilInTheSKY »

sstejona wrote: Sat Nov 02, 2024 10:31 am I found another way. I modified a truck that appears in Turn x and I can sell it for Prestige x. Not what I'm looking for, but it works too. If anyone has a better idea, I would always be happy to hear about the possibilities.
There are adding prestige scripts in some DLC scenarios iirc, you can check the Polish campaign Kutno Camp scenario.
sstejona
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 15
Joined: Mon Oct 30, 2017 11:58 am

Re: lua question

Post by sstejona »

Thanks. It's that easy and it works great. :lol:
Post Reply

Return to “Panzer Corps 2 Scenario Design”