User Tools

Site Tools


4rpl:commands:setcustomobjectivetext

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:setcustomobjectivetext [2021/01/08 16:01] – external edit 127.0.0.14rpl:commands:setcustomobjectivetext [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<=[[4rpl:start| Index]]\\ 
 +<=[[4rpl:start#mission| Mission]]
  
 ====== SetCustomObjectiveText ====== ====== SetCustomObjectiveText ======
Line 12: Line 13:
 SetCustomObjectiveText("Defeat Boss") SetCustomObjectiveText("Defeat Boss")
 </code> </code>
 +\\
 +A function that formats the text to look like the vanilla objectives:
 +<code 4rpl>
 +"Destroy Devices" "1/2" @SetText
 +
 +:SetText
 +    ->_text1 ->_text0
 +    "<line-height=0%><align=left>" <-_text0
 +    LF "<align=right>" <-_text1 "<#00000000>-"
 +    concat4 concat3 SetCustomObjectiveText
 +</code>
 +{{:4rpl:commands:screenshot_1.png?200|}}\\
 +\\
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/setcustomobjectivetext.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)