Hi,
I still did not find an way to reduce the hp (or any attribute) of an specific unit via Lua script. Is there any?
Search found 4 matches
- Thu Oct 23, 2014 9:58 am
- Forum: Rulesets and modpacks
- Topic: Reduce Hitpoints in Lua script
- Replies: 1
- Views: 4411
- Tue Oct 21, 2014 11:02 am
- Forum: Rulesets and modpacks
- Topic: setting a flag for each unit (not unit type)
- Replies: 1
- Views: 3837
setting a flag for each unit (not unit type)
I know i am currently flooting the forum and i am sorry but i have questions :( Is there any way to set a condition to a character? For example any character has a 25% chanche of getting sick unless some Tech is researched. Asuming the poor fellow hit the checkpot and got sick, i would like to save ...
- Tue Oct 21, 2014 8:06 am
- Forum: Rulesets and modpacks
- Topic: Create own effects types?
- Replies: 1
- Views: 3862
Create own effects types?
HI,
I found in the wiki a list of effect types (like Tech_Parasite, Growth_Food etc)
Is it possible to create his own effect types(via lua script or so)?
I found in the wiki a list of effect types (like Tech_Parasite, Growth_Food etc)
Is it possible to create his own effect types(via lua script or so)?
- Tue Oct 21, 2014 8:03 am
- Forum: Rulesets and modpacks
- Topic: Lua- How to remember stuff
- Replies: 1
- Views: 3851
Lua- How to remember stuff
HI, I am trying to make my own mod/ruleset to celebrate diseases! Diseases are awsome! However i ran in some issues i dont seem to get my head around. How do i save a variable in my lua script so i can acess it at my next callback. A little example: function units_getting_sick_callback(turn, year) i...