I have tryed and
CreateItemInContainer(container, objname, quantity);
or
CreateItemInContainer(container, objname, quantity);
+
MoveItemToContainer(item, container);
put all items in the same position..... one over one.
Search found 19 matches
- Wed Aug 30, 2006 11:41 am
- Forum: Scripting Help
- Topic: putting item in random position in metallic chest
- Replies: 2
- Views: 3395
- Wed Aug 30, 2006 11:00 am
- Forum: General Help (096)
- Topic: Strange problem with Npc & Pc
- Replies: 4
- Views: 4745
- Wed Aug 30, 2006 8:19 am
- Forum: Scripting Help
- Topic: putting item in random position in metallic chest
- Replies: 2
- Views: 3395
putting item in random position in metallic chest
I have tryed to create an intem into a chest un random positions, but all attempts are failed:
item.x := RandomInt(150) + 20 + 1;
item.y := RandomInt(130) + 20 + 1;
fail
MoveItemToContainer(item, container, RandomInt(150) + 20 + 1, RandomInt(120) + 20 + 1);
fail
all fails.
item.x := RandomInt(150) + 20 + 1;
item.y := RandomInt(130) + 20 + 1;
fail
MoveItemToContainer(item, container, RandomInt(150) + 20 + 1, RandomInt(120) + 20 + 1);
fail
all fails.
- Wed Aug 30, 2006 6:22 am
- Forum: Feature Request Archive
- Topic: CreateItemInContainer(obj, container, x := -1, y := -1 );
- Replies: 0
- Views: 2772
CreateItemInContainer(obj, container, x := -1, y := -1 );
Add x and y parameter to createitemincontainer ?
- Wed Aug 30, 2006 5:21 am
- Forum: General Help (096)
- Topic: Waah! [nome pg] is dead, but healing damage?
- Replies: 1
- Views: 2876
Waah! [nome pg] is dead, but healing damage?
What say this message?
A pg died cure itself?
A pg died cure itself?
- Tue Aug 29, 2006 2:26 pm
- Forum: Feature Request Archive
- Topic: item.isA(POLCLASS_*)
- Replies: 2
- Views: 3792
- Tue Aug 29, 2006 4:12 am
- Forum: Feature Request Archive
- Topic: item.isA(POLCLASS_*)
- Replies: 2
- Views: 3792
item.isA(POLCLASS_*)
A command like
GetItemPolclass(item) ?
GetItemPolclass(item) ?
- Mon Aug 28, 2006 10:26 am
- Forum: Feature Request Archive
- Topic: CreateItemInBackpack( of_character, objtype, amount := 1)
- Replies: 3
- Views: 4914
- Mon Aug 28, 2006 7:09 am
- Forum: Feature Request Archive
- Topic: CreateItemInBackpack( of_character, objtype, amount := 1)
- Replies: 3
- Views: 4914
CreateItemInBackpack( of_character, objtype, amount := 1)
CreateItemInBackpack( of_character, objtype, amount := 1 );
a new parameter like:
CreateItemInBackpack( of_character, objtype, amount := 1, NO_NOT_USE_STAK_IF_FOUND);
to order command to create new item and not to add ti prevous stack....
a new parameter like:
CreateItemInBackpack( of_character, objtype, amount := 1, NO_NOT_USE_STAK_IF_FOUND);
to order command to create new item and not to add ti prevous stack....
- Thu Aug 24, 2006 12:39 pm
- Forum: General Help (096)
- Topic: Strange msg in console
- Replies: 6
- Views: 7236
- Thu Aug 24, 2006 12:31 pm
- Forum: General Help (096)
- Topic: Bad allocation....
- Replies: 4
- Views: 4818
- Thu Aug 24, 2006 12:28 pm
- Forum: General Help (096)
- Topic: 270 Connections
- Replies: 12
- Views: 11036
- Tue Aug 22, 2006 1:26 am
- Forum: Scripting Help
- Topic: SetAttributeBaseValue()
- Replies: 3
- Views: 3521
- Mon Aug 21, 2006 1:01 pm
- Forum: Scripting Help
- Topic: death.src
- Replies: 1
- Views: 2592
death.src
On NPC death pol execute death.src
death.src report the corpse in "program death(corpse)".
In corpse I have all cprops was on npc before die.
But if npc had member npc.master, corpse also ha corpse.master?
death.src report the corpse in "program death(corpse)".
In corpse I have all cprops was on npc before die.
But if npc had member npc.master, corpse also ha corpse.master?
- Mon Aug 21, 2006 6:55 am
- Forum: POL Tools
- Topic: Statics0.mul -> items.txt ?
- Replies: 11
- Views: 11415
- Mon Aug 21, 2006 3:19 am
- Forum: Scripting Help
- Topic: SetAttributeBaseValue()
- Replies: 3
- Views: 3521
SetAttributeBaseValue()
In attributes.inc when the function SetAttributeBaseValue() is used the code check before value:
if(intelligence < 10)
intelligence := 10;
elseif(intelligence > CORE_SETTINGS_MAX_ATTRIBUTE)
intelligence := CORE_SETTINGS_MAX_ATTRIBUTE;
endif
var ret := SetAttributeBaseValue(who, ATTRIBUTEID ...
if(intelligence < 10)
intelligence := 10;
elseif(intelligence > CORE_SETTINGS_MAX_ATTRIBUTE)
intelligence := CORE_SETTINGS_MAX_ATTRIBUTE;
endif
var ret := SetAttributeBaseValue(who, ATTRIBUTEID ...
- Sun Aug 06, 2006 3:29 am
- Forum: Scripting Help
- Topic: source_account.move_char(string destacctname, integer slot)
- Replies: 3
- Views: 4295
- Sat Aug 05, 2006 1:40 pm
- Forum: Scripting Help
- Topic: source_account.move_char(string destacctname, integer slot)
- Replies: 3
- Views: 4295
source_account.move_char(string destacctname, integer slot)
I have source and destination acocunt, destination character number.... but source character id (1-5) where is?
How can I use this command?
How can I use this command?
- Sat Aug 05, 2006 9:22 am
- Forum: Feature Request Archive
- Topic: account.createcharacter(Struct { })
- Replies: 5
- Views: 6186
account.createcharacter(Struct { })
a method for acocunt to create a blank character by script.