Jump to content

Home

I need items to spawn into my inventory


jezter

Recommended Posts

I've read the tutorials, and still have trouble with this.

 

The item cheat codes are:

 

giveitem force_jump

 

giveitem g_w_drkjdisbr001

 

I'm having trouble editing the endtrask.dlg, I made script's last night.

 

None have been successful in game. I want to make a script that spawns

 

those items into my inventory, after trask say's, i'm trask.

Link to comment
Share on other sites

Try this

void main() {
int nQuantity = 1;
CreateItemOnObject("force_jump", GetFirstPC(), nQuantity);
CreateItemOnObject("g_w_drkjdisbr001", GetFirstPC(), nQuantity);
}

 

Sorry about that I was in a rush when I posted the first one.

 

you don't need the "nQuantity" the function will defualt to 1 if its left blank.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...