aliens

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Nirran

Pages: 1 2 [3] 4 5 ... 7
31
Help / Re: on screen message
« on: November 12, 2023, 08:45:20 pm »
yes

what is the code tho?lol u didnt post it

edit : nvm found flashLongMessage

32
Help / Re: on screen message
« on: November 12, 2023, 05:35:26 am »
here is alternative version of this function that that work similar but couple times longer show given text

is it a scripting function?

34
Help / soldier transformation question
« on: November 12, 2023, 12:49:27 am »
does the game remember all the previous transforms or only the last one soldier did?

35
Help / Re: way to get is unconscious?
« on: November 10, 2023, 11:31:37 pm »
because your unit is collapsED not collapsING. This function is used to detecting state where unit get stunned or killed and now falling down on ground.
Meridian said correct solution because this is definition when unit enter stunned state.

Overall, I check functions exposed to script and I see that I simply not added one used for killed units and stunned ones.
Probaby in some next version there will be new two functions `unit.isStunned temp;` and `unit.isKilled temp;`.

ok thanks dude

edit : i think im annoying ppl,sorry if i am,lemme know what i am doing to cause it

36
Help / Re: way to get is unconscious?
« on: November 10, 2023, 10:11:32 pm »
log has no error,and shows my var checking if collapsing is always 0

37
Released Mods / Re: xcom1 and xcom2 mod?
« on: November 10, 2023, 09:08:04 pm »
Is this what u after?

Dont want anything cept crash landing on water trigger a mission

38
Help / Re: adding research entries
« on: November 10, 2023, 04:46:18 am »
meh it was simple,one entry block and delete the -delete research entry

edit : still donno what allows me to multi research the same research

39
Help / Re: way to get is unconscious?
« on: November 10, 2023, 01:10:26 am »
Yes any new identifier like `temp` in this case, need be defined before use, and `var` is used to define this variable that use that identifier.

place in

Code: [Select]
  scripts:
    damageUnit:
      - offset: 99
        code: |
          var int temp;
          var int stunLevel;
          var ptr GeoscapeSoldier soldier;

correct?

and whats wrong with this?

Code: [Select]
          unit.isCollapsing temp;
          if gt temp 0; 
            battle_game.flashMessage "STR_UNCONSCIOUS_STRING"; # NumericVariable; #Display text string and numeric variable
            unit.getHealthMax temp;
            unit.setHealth temp;
            mul temp 4;
            unit.setStun temp;
            set to_health 0;
            set to_stun 0;
            set to_wound -50;
            unit.disableIndicators;
            unit.setTag Tag.LRF_IS_DEAD 1;
            return;
          end;

40
Help / Re: on screen message
« on: November 10, 2023, 12:48:42 am »
You can not create pop up window, but you can make a flash message, just as when no time units left.
It can be done via scripting:
Code: [Select]
            battle_game.flashMessage "STR_TEXT_STRING" NumericVariable; #Display text string and numeric variable

is it possible to extends the flash duration on screen?

41
Help / Re: way to get is unconscious?
« on: November 09, 2023, 09:45:50 pm »
Code: [Select]
...
          unit.isCollapsing temp;
          if gt temp 0;
          ...

thnx dude,any special var declare needed?

42
OXCE Suggestions Archive / [Suggestion] auto-sort soldiers
« on: November 08, 2023, 11:31:48 pm »
is it inst possible,or is too hard,dont bother,but a QoL suggestion is to auto sort soldiers when entering the tactical maps,to w/e setting was last used to sort soldiers,default would be orginal sorting , as it is now hafta resort them each lvl up or combat xp

43
Released Mods / Re: xcom1 and xcom2 mod?
« on: November 08, 2023, 10:04:18 pm »
i thought it would be a simple list,apparently it isnt

bit vague i was,sorry the only thing i actualy want is when i shoot down a ufo over water to make it crash land and be able to do the mission

44
Help / Re: Learning to Mod
« on: November 08, 2023, 08:17:08 pm »
deleted it

45
Released Mods / Re: xcom1 and xcom2 mod?
« on: November 08, 2023, 07:09:06 am »
what files would have to be modded to add water missions to xcom1?

Pages: 1 2 [3] 4 5 ... 7