|
ffixfaqs Newbie
Joined: 10 Dec 2001 Posts: 3 Location: Malaysia
|
Posted: Mon Dec 10, 2001 2:43 pm
Some Trigger Help |
Okay guys i need some trigger help, i'm a anti-computer guy so i have no idea, im new to the game too, so help me out
Trigger 1
You receive %1 xp as your share
Total XP for kill is %1
#add @runxp %1
grouptalk Total XP for run : %1, Ratio : [help here] Percent Increase : ?
Ok i want the grouptalk when i type gtxp or something no matter
Need help with Ratio
Percent Increase should be #math @runxp-@lastxp/100 so basically, lastxp should be set when i type the gtxp . I have no idea on how about the ratio
2nd Help
You cut of %1 limb
#add limb_count 1
gt Wow, 1 limb to the warehouse
You completely sever %1 head.
#add head_count 1
gt Geez, a yucky head to the collection.
#alias gt_limb
gt @limb_count Limbs, Ratio : ? @head_count, Ratio : ?
Basically Ratio is how many limbs/time
If yall can help me with this got an even tougher trigger to set up
-The Fastest Counter-Strike Player on Planet Earth- |
|
|
|
ffixfaqs Newbie
Joined: 10 Dec 2001 Posts: 3 Location: Malaysia
|
Posted: Mon Dec 10, 2001 2:58 pm |
Oh and also this tick timer i want it to grouptalk 10 seconds before tick and 1 when it ticks
I already have set up a tick timer which increases on mana increase
so basically this is what i want
#if @tick_timer 1 (#if (i dunno what to put here so i go with this @tickclock? 10) {gt Tick Tock, tick in 10}
#if @tick_timer 1 (#if @tickclock 1) {gt Praise Da Lord, It Ticked}
? Any idea's
-The Fastest Counter-Strike Player on Planet Earth- |
|
|
|
Castaway GURU
Joined: 10 Oct 2000 Posts: 793 Location: Swindon, England
|
Posted: Mon Dec 10, 2001 4:01 pm |
First one:
Trigger -
Pattern:
You receive (%d) xp as your share
Commands:
lastxp = runxp
#add runxp %1
Alias -
Name: gtxp
Commands:
#math increase (@runxp-@lastxp)/100
grouptalk Total XP for Run: @runxp, Ratio : @lastxp/@runxp, Percent increase: @increase
Does that help?
It wont do floating point arithmetic Im afraid..
Lady C. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Dec 10, 2001 5:48 pm |
Parameters in the trigger phrase should be enclosed in parentheses and it's best to use the ones listed under the help topic "expressions" (%a, %w, %d, etc.). This leaves the numbered parameters (%1, %2, etc.) for the trigger action. If you insist on using numbers for both the phrase and the action, it would at least be a good idea to use more than one number when you have more than one parameter.
You receive %1 xp as your share
Total XP for kill is %1
When using the commands #VAR, #ADD, etc. to create/modify variables, DON'T put an @ before the variable name. #add @runxp %1 means add the value of %1 to the variable whose name is in @runxp. #add runxp %1 means add the value of %1 to the variable whose name is runxp. BIG difference.
LightBulb |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|