Et il semble que je me soit planté.
L'original est comme ça :
j'en ai fait ça :BACKUP ~StuffofTheMagi/backup~ // so WeiDU can uninstall
AUTHOR ~Send a PM to Kevmus at spellholdstudios or send an email to KevmusBG@gmail.com~ // contact address displayed if installation fails
VERSION ~v2.4~ // version number
README ~StuffofTheMagi/Readme-SoTM.txt~
BEGIN ~Stuff of the Magi~ // name of this component
// adds custom IsValidForPartyDialogue state
APPEND ~STATE.IDS~
~0x80101FEF CD_STATE_NOTVALID~
UNLESS ~CD_STATE_NOTVALID~
APPEND ~action.ids~ ~160 ApplySpellRES(S:ResRef*,O:Target)~
UNLESS ~ApplySpellRES(S:ResRef\*,O:Target)~
APPEND ~STATE.IDS~
~0x00000FC0 STATE_REALLY_DEAD~
UNLESS ~STATE_REALLY_DEAD~
PRINT ~Options:
1- Use new, less cheesy items (recommended)
2- Use original, overpowered items~
ACTION_READLN ~use~
OUTER_WHILE NOT(IS_AN_INT %use%) || (%use% > 2) || (%use% < 1) BEGIN
PRINT ~Options:
1- Use new, less cheesy items (recommended)
2- Use original, overpowered items~
ACTION_READLN ~use~
END
[.......]
Et ... Tp2 error à la ligne 17, cad à "PRINT"BACKUP ~StuffofTheMagi/backup~ // so WeiDU can uninstall
AUTHOR ~Send a PM to Kevmus at spellholdstudios or send an email to KevmusBG@gmail.com~ // contact address displayed if installation fails
VERSION ~v2.4~ // version number
README ~StuffofTheMagi/Readme-SoTM.txt~
BEGIN @1 // name of this component
// adds custom IsValidForPartyDialogue state
APPEND ~STATE.IDS~
~0x80101FEF CD_STATE_NOTVALID~
UNLESS ~CD_STATE_NOTVALID~
APPEND ~action.ids~ ~160 ApplySpellRES(S:ResRef*,O:Target)~
UNLESS ~ApplySpellRES(S:ResRef\*,O:Target)~
APPEND ~STATE.IDS~
~0x00000FC0 STATE_REALLY_DEAD~
UNLESS ~STATE_REALLY_DEAD~
PRINT @2
ACTION_READLN @3
OUTER_WHILE NOT(IS_AN_INT %use%) || (%use% > 2) || (%use% < 1) BEGIN
PRINT @2
ACTION_READLN @3
END
[..........]
On ne peut pas tryaifier une instruction Print ? et si non, comment faire pour traduire le texte "printé" ?