fame points etc pls read

Join Discord

matow

Dedicated Member
Dedicated Member
Nov 7, 2006
31
0
52
i have been tryin to make a npc give me fame points for about 5 hours lol bet it summit stupid it with crueldragon 3g think its v.3.38 not sure lol

but neway my script is

[@main]
#IF
#SAY
wot would you like? \
<more FP/@FP> \

[@FP]
#IF
#ACT
HLSCRIPTCMD SETPOINT + 50
#SAY
you should now have 50 FP more. \
<exit/@exit> \

if any one can help pls do thanks in advance
 

Logic

LOMCN Leecher
Mar 22, 2006
2
0
32
It's very simple

[@main]
#IF
#SAY
wot would you like? \
<more FP/@FP> \

[@FP]
#IF
checkfame
#ACT
mov D4 %P9
inc D4 50
SetFame %D4
#SAY
you should now have 50 FP more. \
<exit/@exit> \
 
Upvote 0

Apostle

Dedicated Member
Dedicated Member
Oct 17, 2006
31
0
52
By the looks of it, it looks like this code just sets the fame to a specific value.
If you were though, how would you increase the fame?

So user currently has 5, and they do something that adds 50.
Would there be an expression to use?
 
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
The CheckFame command stores your current Fame into the P9 variable, then Logic stored P9 in the variable D4 then INCreased D4 by 50. Finally he used SETFAME to store the new value.
 
Upvote 0