Gil Amarth
Journeyman
Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0
|
Placing multis
I have found in the wiki an old function:
TARGETFGMW function ->
Displays a targeting cursor to SRC. F makes the function available, and when added, the function name must be the 1st argument. M allows you to place a multi item, in which case the multi number must be passed as an argument. G forces the target to only be the ground. W checks the criminal status of the player before (or after?) the target selection is made.
And in the revisions of old 0.56b, this changelog:
21-10-2006, Nazghul
- Added: New "m" paramter for TARGET function. Now you can use TARGETM and TARGETFM for targeting
a place for your multi (you will see your multi in the "ghost mode"). TARGETM takes as an argument
ONLY ID of the multi, TARGETFM takes 2 arguments - function_to_call,ID_ot_the_multi.
Is it working targetfm?
I have trying add multis with custom variables, because see the multi in 'ghost mode' is very useful before placing items.
But it seems that function is obsolete or not working anymore.
Do you know any other method to place multis in ghost mode, where you can control what functions are you triggering?
Thanks.
I have found the answer.
You can retrieve de ID of a multi with:
.serv.multidef.[item_defname].id
And that number works with targetfm.
It´s strange that id for multis is not declared in the scripts files, but it is working!
Regards.
(This post was last modified: 01-23-2016 11:42 PM by Gil Amarth.)
|
|
01-23-2016 11:33 PM |
|
|