Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - razing32

#1
One last thing.
How can I "END" the game ?
I can't find a command that says ENDGAME or something.
#2
Actually jerk used to be man, it's not a syntax error, i corected in code but not on the post before reply. I wanted to call him jerk because he doesn;t help my character then i changed it to Man.
#3
It works.THANKS !!!  ;D
You also answered amazingly fast ... :o(feels more like IM than forum)
Also , one more question ,how can i play animation during dialogue ?
i have something like this :
From tutorials for animation
Code: ags

function Man_Talk()  
 {       
   cJerk.LockView(2);
   cJerk.Animate(1, 6);    
   cJerk.UnlockView();
 } 


And for actual talk i tried this
Code: ags

function cChar1_Talk()
{
  Man_Talk();
  dDialog1.Start();
  
}


but he only talks at first. I tried to use the function Man_Talk() in the dialog :
Code: ags

// Dialog script file
@S  // Dialog startup entry point
EGO: Who are you ?
Man_Talk();
MAN: A man !
return
@1
MAN: Just a man ...
EGO: ok, ok
Man_Talk();
MAN: No, i can't.
EGO: Please take these drugs to the police.
return
@2
Man_Talk();
MAN: NO !
stop



It's off the topic of this thread, but i don;t want to start another thread for a few more replies. Sorry to the moderators.
#4
I need some help using an item on a hotspot/character/object.
I searched the forums and downloaded demo games but nothing  :-[.

This is what i have so far
function hHotspot3_Interact()
{
  if (player.InventoryQuantity[iSpear.ID] == 1)
  {
    player.AddInventory(iDrugs,4);
   
  }
  else
  {
    Display("There's something down there but i can;t reach");
   }

}

But i would like it to be something like
function hHotspot3_useItem(iSpear)
{
Display("I found drugs")
player.additem(iDrugs);
}

I want to use cursor 4 but i can;t find any specific example.
PLZ HELP  Embarrassed

I appologise if i did not search good enough. ???
SMF spam blocked by CleanTalk