RPG help

SickSailer

New Member
Reaction score
1
I need more and more... lol soz x-maul... can you help with this one,

The dungeon has a final boss when I kill it I don't want it to drop the item cause then after 40 seconds it'll respawn and one could kill it again, can you do something like after killing the boss, your teleported to an item room (each player has an item room) and in that room depending on the dungeon you have a % chance to get certain items.

it's quite difficult but if your busy don't worry I can ask someone else but please don't think that you have to do it (but if you do you'll be my hero :D)
 

X-maul

AKA: Demtrod
Reaction score
201
Yet another map for you ;)

(I've taken down the other maps, takes up my upload capacity)

EDIT: fixed a little bug :)
EDIT 2: check post #27
 

SickSailer

New Member
Reaction score
1
lol dude your awesume... so now how do I create a random item generator for your stash eg. boss level 1 gives random item from item level 1 stash... and boss level 2 gives random item from item level 2 stash...

and is there any other way I can say thanks :O!!!!
 

X-maul

AKA: Demtrod
Reaction score
201
Lol, forgot that.. here you go;)

In the boss killing trigger you just add more items like I've allready done here:
Code:
Set ItemDrop[1] = ITEM 1
Set ItemDrop[2] = ITEM 2
Set ItemDrop[3] = ITEM 3
and then change the random number in
Code:
Item - Create ItemDrop[(Random integer number between 1 and [COLOR="Red"]3[/COLOR])] at TempPoint


and is there any other way I can say thanks :O!!!!
you've already +repped me, so actually no ;) anyway I'm here to help people out, and I got the most of it in the back of my head, so it doesnt take me more than 5 min to do :p
 

SickSailer

New Member
Reaction score
1
cool... lol having 1 problem with trigger

Trigger:
  • Set Teleport_out_loc[(Player number of (Triggering player))] = (Position of (Picked unit))


when I try to "Set Teleport_out_loc" it asks for [index] how do I get rid of it or am I doing something wrong?
 

X-maul

AKA: Demtrod
Reaction score
201
cool... lol having 1 problem with trigger

Trigger:
  • Set Teleport_out_loc[(Player number of (Triggering player))] = (Position of (Picked unit))


when I try to "Set Teleport_out_loc" it asks for [index] how do I get rid of it or am I doing something wrong?

you know that you can copy paste all triggers into your own map, from mine? ;)

anyway, its ment to ask for that, you click on index and set it to (Player number of (Triggering player))
 

SickSailer

New Member
Reaction score
1
ohh right I got it

I'f I copy paste it I still have to set the variables but not everything else :D
 

X-maul

AKA: Demtrod
Reaction score
201
Also here there is a shorter way:

go to:
File -> Preferences... -> check Automatically create unknown variable while pasting trigger data
then It'll automatically do it for you ;)
 

SickSailer

New Member
Reaction score
1
this custom script isn't working on my map

Trigger:
  • Custom script: call RemoveLocation(udg_Teleport_out_loc[1])


must I make a region called Teleport_out_loc???

Edit: nvm got it all working :D
 

SickSailer

New Member
Reaction score
1
ok I'm being noob again... so

Trigger:
  • Set ItemDrop[1] = ITEM 1
    • Set ItemDrop[2] = ITEM 2
    • Set ItemDrop[3] = ITEM 3


those are all variables right... so item array 1,2 and 3

but how do I select the item for each array?
 

X-maul

AKA: Demtrod
Reaction score
201
this custom script isn't working on my map

Trigger:
  • Custom script: call RemoveLocation(udg_Teleport_out_loc[1])


must I make a region called Teleport_out_loc???

Edit: nvm got it all working :D
thats a variable, which is set to a region ;)
ok I'm being noob again... so

Trigger:
  • Set ItemDrop[1] = ITEM 1
    • Set ItemDrop[2] = ITEM 2
    • Set ItemDrop[3] = ITEM 3


those are all variables right... so item array 1,2 and 3

but how do I select the item for each array?
the variable is an "Item Type" variable
 

SickSailer

New Member
Reaction score
1
ok but it doesn't let me name them all itemdrop and the array 1,2 or 3. Or is the name ItemDrop[1] and itemDrop[2]
 

X-maul

AKA: Demtrod
Reaction score
201
the name is ItemDrop - an Item Type variable with array checked, and then its just ItemDrop[1]
 

SickSailer

New Member
Reaction score
1
ok I must be noober then I think I am.

I make 1 "ItemDrop" with an array sized 1 and I pick my item. When I try to make the second one "ItemDrop" with an array sized 0,1 or 2 it doesn't let me create it because it says the name already exists.

Am I doing it wrong?
 

X-maul

AKA: Demtrod
Reaction score
201
you just need 1 variable named "ItemDrop" with array size 1
then you set ItemDrop[1] to ITEM 1
and so on - check how its done in the map i made for you.
 

SickSailer

New Member
Reaction score
1
hey I was wondering do you wanna see what I did so far, cause I wanna know if it's horrible or if it's ok. There are still a few glitches but those can be fixed

let me know :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top